Timeline for Getting the last argument passed to a shell script
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 20, 2022 at 11:26 | comment | added | AnrDaemon |
Just eval a="\$$#" will work without any echoes.
|
|
Aug 18, 2015 at 23:17 | comment | added | Palec | The eval approach has been presented here many times already, but this one has an explanation of how it works. Could be further improved, but still worth keeping. | |
Aug 18, 2015 at 23:08 | history | edited | Palec | CC BY-SA 3.0 |
Removed fluff, improved grammar and formatting
|
Aug 17, 2015 at 16:06 | history | edited | esavier | CC BY-SA 3.0 |
deleted 8 characters in body
|
Aug 17, 2015 at 16:02 | history | undeleted | esavier | ||
Aug 17, 2015 at 15:51 | history | deleted | esavier | via Vote | |
Aug 17, 2015 at 15:21 | history | answered | esavier | CC BY-SA 3.0 |