- Article pages now have a discussion option at the bottom (moderated/captcha, but no registration needed) - recently upgraded to a newer Dokuwiki version, please report problems

Shell Coding Wisdoms

  • Never use a regular expression when an extended glob will do. Never use an extended glob when a regular glob will do. Never use a glob when a string will do.
    (greycat, 22 Nov 2010, Freenode IRC channel #bash)
  • a lack of quotes is scary!!!
    (go|dfish, 17 Dec 2010, Freenode IRC channel #bash)
  • primarily, remember: that bash considers most things to be strings and is written in c.
    (twkm, 21 Sep 2006, Freenode IRC channel #bash)
  • Please remember: "Reading is Fundamental". And try harder next time :P
    (juanez, 25 Feb 2008, Freenode IRC channel #bash)
  • It is faster to find the answer to an easy question in a manpage than on a irc channel.
    (cthuluh, 15 Jul 2010, Freenode IRC channel #bash)
  • Where there is a shell, there is a way.
    (found somewhere on the net, original source unknown)
  • I think my preference for scripting too complex for bash would be: python > perl > C > Visual Basic > APL > COBOL > assembly language > manual input of 0 and 1 > PHP
    (kwtm2, 29 Oct 2011, Freenode IRC channel #bash)

Discussion

Enter your comment
 
scripting/wisdoms.txt · Last modified: 2011/10/29 09:10 by thebonsai
GNU Free Documentation License 1.3
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0