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

Revision History

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

# Date Size Editor Comment Action
95 2015-01-06 00:21:36 5537 to previous 89   view
94 2015-01-06 00:18:08 5541 to previous 89   view
93 2015-01-05 15:44:14 5539 to previous JarnoSuni This is much better programming practice than breaking by using undefined $1 or $2. view
92 2015-01-05 14:03:23 5548 to previous ormaaj Remove all reference to set -u. It belongs in a dedicated FAQ which discusses what ${1+"$1"} is for, and all the many reasons to hate set -u. view
91 2015-01-05 14:01:19 6147 to previous ormaaj Reverted. The script was perfect to begin with. I'd have done it last night but it looked like they were still editing. view
90 2015-01-05 13:29:08 5539 to previous GreyCat OK, fine. You set -u people can have this battle. But not the war. You will NOT get to put set -u at the top of an example. Also, why did you add a second row of category tags, with a duplicate? view
89 2015-01-04 23:36:49 5606 to previous JarnoSuni Make the script work even with set -o nounset (or set -u) view
88 2014-08-07 09:52:57 6147 to previous geirha increment verbose view
87 2014-07-15 18:18:00 6134 to previous GreyCat "command shift" is silly view
86 2014-07-04 20:28:52 6142 to previous ormaaj Input validation for POSIX example. view
85 2014-03-03 11:40:36 5776 to previous geirha Changing echos to printfs, and adding a usage function to the getopts example. view
84 2014-03-03 09:14:40 5275 to previous geirha Manual loop and getopts is enough to answer this faq. Moved the rest to a separate page. view
83 2014-02-28 08:36:45 12586 to previous proxy04   view
82 2013-12-12 10:55:33 12584 to previous StephaneChazelas clarification about what POSIX specifies view
81 2013-12-12 10:39:13 11850 to previous StephaneChazelas util-linux getopt is reliable when properly used. view
80 2013-12-12 10:36:28 11791 to previous StephaneChazelas sorry, my bad about `-:` trick not working. reverting view
79 2013-12-11 22:14:48 8324 to previous 188-223-3-27 There's no getopts implementation where `-:` works to allow long options. view
78 2013-05-06 07:42:24 11791 to previous geirha The quotes are unecessary and make it less consistent since not all such assignments were quoted. view
77 2013-05-05 13:57:15 11795 to previous p5B0A11F9 Add quotes view
76 2013-04-11 16:23:26 11791 to previous rrcs-67-52-129-61 fix typo view
75 2013-03-14 14:15:08 11790 to previous Lhunath no need to check for --. view
74 2013-02-05 20:38:19 11752 to previous GreyCat blank line makes the bot cry view
73 2013-02-04 23:53:04 11754 to previous JarnoSuni OPTARG=(${@:OPTIND:$((longoptspec[$opt]))}) breaks arguments with whitespace. view
72 2012-10-22 20:41:23 11126 to previous GreyCat Separate getops long option trickery into its own subsection. Also fix the counting in the set -u bit. view
71 2012-09-12 11:59:53 11166 to previous 52490F51   view