bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bash 4] 'test -v 1' is never true


From: Robert Elz
Subject: Re: [bash 4] 'test -v 1' is never true
Date: Sat, 26 Nov 2022 12:24:16 +0700

    Date:        Sat, 26 Nov 2022 10:09:22 +0700
    From:        Robert Elz <kre@munnari.OZ.AU>
    Message-ID:  <28751.1669432162@jacaranda.noi.kre.to>

  | This can be easier to read if written as 'test "$@" -ge 1'
  | which means the same.

And of course, I meant $# there, not $@   (just a typo...)

kre




reply via email to

[Prev in Thread] Current Thread [Next in Thread]