Timeline for How to check if there are no parameters provided to a command?
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 16, 2022 at 19:39 | comment | added | CivFan | How about an optional parameter? | |
| Aug 9, 2021 at 20:44 | comment | added | jgreve | aka parameter expansion: gnu.org/software/bash/manual/html_node/… | |
| May 5, 2021 at 13:41 | comment | added | Stephane Rolland |
what is the name of this technique using the ? in the bracket expansion ${} ? I cannot wrap myn head around the meaning and behaviour of it. I suppose ? applies to th 1 in $1 ; but I'm left clueless, I'd gladly dig deeper this technique/syntax.
|
|
| Oct 16, 2014 at 5:33 | history | answered | Pat | CC BY-SA 3.0 |