[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-o option is missing from man page and online docs

From: Moravetz, Clifford
Subject: -o option is missing from man page and online docs
Date: Sat, 28 Aug 2004 09:41:45 -0700

Configuration Information [Automatically generated, do not change]:

Machine: i686

OS: cygwin

Compiler: i686-pc-cygwin-gcc

Compilation CFLAGS:  -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='cygwin' -DCONF_MACHTYPE='i686-pc-cygwin' -DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H -DRECYCLES_PIDS  -I.  -I/home/RLandheer/cygwin-contrib/bash/2.05b-16/bash-2.05b -I/home/RLandheer/cygwin-contrib/bash/2.05b-16/bash-2.05b/include -I/home/RLandheer/cygwin-contrib/bash/2.05b-16/bash-2.05b/lib  -O2

uname output: CYGWIN_NT-5.1 sb-moravetz 1.5.6(0.108/3/2) 2004-01-19 00:43 i686 unknown unknown Cygwin

Machine Type: i686-pc-cygwin


Bash Version: 2.05b

Patch Level: 0

Release Status: release



            The bash man page does not describe the -o (lowercase oh)

            command line option for bash. I discovered this option by

            accident when I was experimenting with the -O (uppercase oh)

            and accidently used the wrong case.


            I've checked your website and haven't been able to find

            anything about the -o option there in the man page.

            Section 6.1 of the Bash Reference Manual does indicate

            there is a -o option in the command line syntax description,

            but there is no description of what it does as there is

            for the -O option.



            * Enter a "bash -o" command to start a subshell and list

              the shopt option settings.


            * Note that the list of options given are not for

              the shopt builtin command, but for the set builtin



            * Run a "man bash" command to find out what the -o

              option does.


            * Note the -O option is documented, but not the -o option.



            Add -o to the command line syntax to the bash man page.


            Add a description for the -o option to both the man page

            and the Bash Reference manual that's similar to the option

            description for the -O option, with the difference being

            that -o is an interface to the set builtin command.


            Also, it would be nice to indicate somewhere that the

            first group of options (the -abefhkmnptuvxdBCDHP group)

            are the same options as for the set builting command.


Clifford V. Moravetz
Software Engineer 
Misys Healthcare Systems 
268 W. Hospitality Lane
San Bernardino, CA 92408
(909) 379-1677
Slavery takes hold of few, but many take hold of slavery -- Lucius Annaeus Seneca


reply via email to

[Prev in Thread] Current Thread [Next in Thread]