bug-bash
[Top][All Lists]
Advanced

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

Bash manual doesn't document -n (test syntax) option


From: maniac
Subject: Bash manual doesn't document -n (test syntax) option
Date: Mon, 15 Jun 2009 11:19:30 +0200

Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I../bash -I../bash/include -I../bash/lib   -g -O2 -Wall
uname output: Linux vps 2.6.26-1-openvz-amd64 #1 SMP Fri Mar 13 19:02:24 UTC 
2009 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu

Bash Version: 3.2
Patch Level: 39
Release Status: release

Description:
        The bash manpage doesn't document the -n option. It is mentioned with 
the -D option, but not documented itself.

Repeat-By:
        bash -n <somescript>

Fix:
        Update manpage, with something like this (from ksh manpage):
           -n    Read commands and check them for syntax  errors,
                 but  do  not execute them.  Ignored for interac-
                 tive shells.





reply via email to

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