User Tools

Site Tools


unixscripts:3-decentbash

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
decentbash [2016/10/05 12:59] – [Provide help] adminunixscripts:3-decentbash [2020/10/17 03:04] (current) admin
Line 1: Line 1:
-=====Decent Bash=====+=====Unixscripts:Decent Bash=====
  
 Here's my five penn'orth. A bash script (actually any program!!) should: Here's my five penn'orth. A bash script (actually any program!!) should:
Line 13: Line 13:
  
 ====Use argp.sh(1)==== ====Use argp.sh(1)====
-Even better, use my **getopt**(1) wrapper [[argp.sh]] which is kinda sorta like GNU's **argp**(3) in glibc. It gives you a single place to define options which is then used to:+Even better, use my **getopt**(1) wrapper [[unixscripts:2-argp.sh]] which is kinda sorta like GNU's **argp**(3) in glibc. It gives you a single place to define options which is then used to:
       * create the **getopt**(1) command line,        * create the **getopt**(1) command line, 
       * process the options setting appropriate environment parameters        * process the options setting appropriate environment parameters 
unixscripts/3-decentbash.1475693958.txt.gz · Last modified: 2016/10/05 12:59 by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki