]> git.ipfire.org Git - thirdparty/util-linux.git/blob - Documentation/getopt.txt
Merge branch 'PR/libsmartcols-reduce-fix' of github.com:karelzak/util-linux-work
[thirdparty/util-linux.git] / Documentation / getopt.txt
1 This package contains a reimplementation of getopt(1).
2
3 PREFACE
4
5 Getopt(1) is a program to help shell scripts parse command-line parameters.
6
7 HIGHLIGHTS
8
9 It can do anything that the GNU getopt(3) routines can do.
10
11 It can cope with spaces and shell metacharacters within arguments.
12
13 It can parse long parameters.
14
15 It can shuffle parameters, so you can mix options and other parameters on
16 the command-line.
17
18 It can be easily identified as an enhanced getopt(1) from within shell scripts.
19
20 It can report parse errors as coming from the shell script.
21
22 It is fully compatible with other getopt(1) implementations.
23
24 COPYING
25
26 This program comes under the GNU general public license version 2. See the
27 file COPYING included in this package. Note that though you may freely
28 copy it, it is copyright (c) 1997-2005 by Frodo Looijaard
29 <frodo@frodo.looijaard.name>.
30 Files in the gnu directory are from glibc-2.0.4: copyright (C) 1987, 88,
31 89, 90, 91, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc.