Skip to main content
15 events
when toggle format what by license comment
S Aug 5, 2021 at 17:30 history suggested Olaf Dietsche CC BY-SA 4.0
Add link to online manual
Aug 4, 2021 at 20:38 review Suggested edits
S Aug 5, 2021 at 17:30
Feb 2, 2021 at 10:30 comment added Markus Zeller Great to know. Using this to run multiple mySQL file imports sequentially.
Mar 16, 2018 at 19:35 comment added ArtOfWarfare @DennisWilliamson - Interesting. I could have sworn that [:digit:] was working yesterday, but now it seems like only [[:digit:]] is working.
Mar 15, 2018 at 17:06 comment added Dennis Williamson ... man 7 regex
Mar 15, 2018 at 17:06 comment added Dennis Williamson @ArtOfWarfare: Try this: mkdir lctest; cd lctest; touch w; touch z; ls -l [:lower:]; echo =====; ls -l [[:lower:]]. The "z" file is only listed by the second ls because it's asking for lower case single-letter filenames. The first ls - the one without the outer square brackets - is asking for single-character file names from the list of characters ":", "l", "o", "w", "e", and "r". In both cases the outermost square brackets delimit a bracket expression which lists characters and classes. In the case of [[:lower:]], the inner square brackets, colons and word name a character class. ...
Mar 14, 2018 at 21:08 comment added ArtOfWarfare @DennisWilliamson - Why two pairs of square brackets? One seems to work exactly the same to me.
S Dec 30, 2017 at 21:17 history edited chicks CC BY-SA 3.0
better Markdown
S Dec 30, 2017 at 21:17 history suggested dessert CC BY-SA 3.0
removed syntax highlighting
Dec 30, 2017 at 21:10 review Suggested edits
S Dec 30, 2017 at 21:17
Jul 24, 2014 at 13:14 comment added Ken Note that the order is alphabetical so BigFilePiece.10 will come before BigFilePiece.2
Mar 16, 2010 at 0:31 comment added Dennis Williamson @Zoredache: It's actually specified by POSIX: opengroup.org/onlinepubs/007908775/xsh/glob.html "The pathnames are in sort order as defined by the current setting of the LC_COLLATE category, see the XBD specification, LC_COLLATE [opengroup.org/onlinepubs/007908775/xbd/…" and it's why you should do things like ls -l [[:lower:]] instead of ls -l [a-z].
Mar 15, 2010 at 22:35 comment added Zoredache @Dennis Williamson, Any idea if this would still be true if a user has a different language set?
Mar 15, 2010 at 21:21 vote accept Sled
Mar 15, 2010 at 20:07 history answered Dennis Williamson CC BY-SA 2.5