Differences between revisions 1 and 2
Revision 1 as of 2009-12-07 00:52:08
Size: 368
Editor: ozgw
Comment:
Revision 2 as of 2009-12-07 00:52:59
Size: 391
Editor: ozgw
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
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. 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.

... work in progress

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 GNU and POSIX standards for how to do this.

... work in progress


CategoryShell

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