|
| From: | Alexey |
| Subject: | Re: [bash 4] 'test -v 1' is never true |
| Date: | Sun, 27 Nov 2022 15:41:58 +0400 |
| User-agent: | Mail UserAgent |
On 2022-11-26 21:45, Alejandro Colomar wrote:
That was my gut; thanks! I'll workaround with $#.
I could suggest you to use for clarity another construction:
[[ ${1+isset} ]] || echo "not set"
Here "isset" is just for readability. You could place any other string
literal there.
Regards, Alexey.
| [Prev in Thread] | Current Thread | [Next in Thread] |