|
From: | Peng Yu |
Subject: | Is ${x+word} documented? |
Date: | Sun, 31 Jan 2021 00:13:59 -0600 |
Hi, I don't find the usage of `${x+word}` documented in the manpage (in the Parameter Expansion section). Do I miss something here? Can I always assume ${x:+word} and ${x+word} are exactly the same? $ x=1 $ echo ${x:+word} word $ echo ${x+word} word -- Regards, Peng
[Prev in Thread] | Current Thread | [Next in Thread] |