Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • unix.stackexchange.com/questions/56837/… Commented Jun 16, 2021 at 21:41
  • unix.stackexchange.com/questions/146942/… Commented Jun 16, 2021 at 21:43
  • -z is an operator used by the [/test command, not a testing construct in general. Unlike in Perl, where print -z "file.txt" actually does test if the file is an empty file (it just prints an empty string if not, so not really useful like that). Commented Jun 16, 2021 at 21:51