[Show "Revision History"] [Show "General Page Infos"] [Show "Page hits and edits"]

Revision History

Showing page edit history entries from 96 to 120 out of 120 entries total. (5 | 10 | 25 | 50 | 100 | 200 items per page)

120 95 70 45 20 Older
# Date Size Editor Comment Action
119 2024-02-26 07:51:38 8323 to previous larryv replaced bash-hackers URL with Wayback Machine version view
118 2021-08-03 18:27:03 8279 to previous GreyCat   view
117 2021-07-26 18:34:34 8281 to previous GreyCat Good riddance. view
116 2021-07-26 10:52:51 8761 to previous JarnoSuni getopt from util-linux supports different styles of long options and options with mandatory and optional arguments. I have used it in my linux-purge script that is meant for Ubuntu Linux. view
115 2021-07-26 02:19:37 8933 to previous GreyCat a -> an view
114 2021-07-26 02:12:39 8932 to previous GreyCat Clarify. It's amazing how many people still misunderstand this. view
113 2017-06-16 14:17:33 7751 to previous GreyCat   view
112 2017-06-16 14:07:52 7755 to previous GreyCat Explain a little more thoroughly. view
111 2016-11-30 02:43:23 5476 to previous 79   view
110 2016-11-20 14:44:54 5482 to previous GreyCat move yet another crazy thing to ComplexOptionParsing view
109 2016-11-19 14:41:40 7120 to previous 213-211-57-37 fixed a typo view
108 2016-11-19 14:40:01 7105 to previous 213-211-57-37 Added mention about the Argbash utility (incorporated feedback from geirha) view
107 2016-09-09 17:23:39 5482 to previous GreyCat Clean up the end. view
106 2016-07-24 08:44:53 5697 to previous geirha this argbash.sh is rather poorly written; using uppercase variable names for internal purposes, missing quotes here and there, inconsistent use of syntax, not testing if cd fails. The list goes on. view
105 2016-07-23 19:52:40 7247 to previous 213-211-57-37 Added mention about the Argbash utility view
- 2016-07-23 19:45:37 2072 - 213-211-57-37 ATTNEW: script.sh view get
104 2016-02-04 20:23:10 5697 to previous geirha Options should not be mandatory/required, they should be *option*al. view
103 2016-01-08 23:25:59 5765 to previous geirha no point in having this case in particular use continue view
102 2015-06-18 19:52:05 5793 to previous GreyCat   view
101 2015-04-29 17:57:43 5822 to previous host-78-147-135-46 [igli] as greycat said in edit 87: "command shift" is silly # especially when you're using the vanilla form elsewhere. if your shell can't 'shift' you have bigger problems. view
100 2015-04-11 08:25:27 5900 to previous geirha Replacing echos with printfs view
99 2015-04-07 14:31:53 5888 to previous ormaaj And now it's -z! view
98 2015-04-07 14:23:26 5888 to previous ormaaj Compromising on [ -n "$2" ] after discussion. Also we're not adding unnecessary set -u workarounds. Almost any example would need workarounds to function with it. Feel free to improve FAQ 112. view
97 2015-04-07 05:38:57 5526 to previous a91-155-134-37 Don't try to evaluate an unset variable. Otherwise the script will exit with error, if set -u is used. view
96 2015-04-07 00:19:02 5523 to previous ormaaj We want to test for a non-empty argument, not count the number of args. Most shells don't optimize $#. [ involves a pointless copy and some shells pass the -gt args to math evaluation on top of that. view
120 95 70 45 20 Older