working bash predicative