bug-bash
[Top][All Lists]
Advanced

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

man page "-c" explanation clarity


From: Paul A. Clarke
Subject: man page "-c" explanation clarity
Date: Tue, 23 Jan 2007 11:14:45 -0600
User-agent: Thunderbird 1.5.0.7 (X11/20060911)

Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: i386-redhat-linux-gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 uname output: Linux pc.austin.ibm.com 2.6.9-34.EL #1 Fri Feb 24 16:44:51 EST 2006 i686 i686 i386 GNU/Linux
Machine Type: i386-redhat-linux-gnu

Bash Version: 3.0
Patch Level: 15
Release Status: release

Description:
The man page states, for the "-c" option:
       -c string If the -c option is present, then  commands  are  read  from
                 string.   If  there are arguments after the string, they are
                 assigned to the positional parameters, starting with $0.
I think the phrase "arguments after the string" is confusing in that the "arguments" here are really still within "the string", not after.

Repeat-By:
$ man bash

Fix:
I'd suggest slightly different wording, such as:
"... If argments follow the respective commands within the string, they are..."

--
Regards,
Paul Clarke




reply via email to

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