Timeline for Getting the last argument passed to a shell script
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 24, 2022 at 17:36 | history | edited | Tahsin Turkoz | CC BY-SA 4.0 |
added 20 characters in body
|
Jun 6, 2020 at 7:03 | history | edited | oguz ismail | CC BY-SA 4.0 |
added 28 characters in body
|
Jan 5, 2018 at 16:09 | comment | added | musicin3d | And it's not hacky. It uses explicit features of the language, not side effects or special qwerks. This should be the accepted answer. | |
Oct 3, 2017 at 3:43 | comment | added | Jonah Braun | While the example is for a function, scripts also work the same way. I like this answer because it is clear and concise. | |
Jun 2, 2016 at 20:48 | history | answered | Tahsin Turkoz | CC BY-SA 3.0 |