Differences between revisions 1 and 14 (spanning 13 versions)
Revision 1 as of 2009-12-07 00:52:08
Size: 368
Editor: ozgw
Comment:
Revision 14 as of 2009-12-07 20:09:56
Size: 100
Editor: GreyCat
Comment: remove (leave a pointer to 035 for now)
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
== How do I process options in a bash script? ==

For example, how do I code my bash script to accept a bunch of options like

{{{
foobar -a --busy --include something
}}}

First up, there are some [[http://www.gnu.org/software/libtool/manual/libc/Argument-Syntax.html][GNU and POSIX standards]] for how to do this.

----
CategoryShell
== Removed ==
If you were looking for option processing, see [[BashFAQ/035]].

Removed

If you were looking for option processing, see BashFAQ/035.

BashFAQ/101 (last edited 2020-02-04 18:35:41 by GreyCat)