#440304 bash: innacurate command syntax specification in 'help for'

Package:
bash
Source:
bash
Description:
GNU Bourne Again SHell
Submitter:
Jameson Rollins
Date:
2024-06-30 14:09:04 UTC
Severity:
minor
#440304#5
Date:
2007-08-31 12:02:52 UTC
From:
To:

I believe the help page for "for" has a punctuation error.  The invocation
syntax in the first line says the following:

for: for NAME [in WORDS ... ;] do COMMANDS; done

However, I believe it should read:

for: for NAME [in WORDS ...] ; do COMMANDS; done

Note the placement of the semicolon after the WORDS directive.  This change
would bring the help in-line with how 'for' is described in the bash man page.

Sorry I'm not applying a patch, but I'm not sure where these help descriptions
are stored.

Thanks so much for maintaining such an important package.

jamie.

- -- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bash depends on:
ii  base-files                4.0.0          Debian base system miscellaneous f
ii  debianutils               2.23.1         Miscellaneous utilities specific t
ii  libc6                     2.6.1-1+b1     GNU C Library: Shared libraries
ii  libncurses5               5.6+20070812-1 Shared libraries for terminal hand

bash recommends no packages.

- -- no debconf information
iQIVAwUBRtgDa+00zqvie6q8AQIAGw//RoocDElUaR5gln/eOxLbyGditI2mIDkH
WVInM7/GDXDfAlzFF3M5tZ2TeGRTzZN7YWnpWJ0W1h3KXMe4Aoiq56ah8yiAAw1Z
CidESBF5ES5kLhnLBm2nXYq5qFJ3KEmv2P7SWyfGzL4+MRaXGvPgcO4eu34trw6m
5t1dpNIKYc6K19n0Dax3i+YxcN+ATQ9rK5U1VVi1LhHPT12kSJh3kLbcO7Q1aon4
6JNr//T/YjQugmsU7dMozbAf1FGdhqZAU1kMVO+lAege8wt4T1DlIyb0Ej4otX3Q
S3HQ328OJzPrb5jRsQqcVYrKcF7TTl72+BpxYG1kcNSESAejJzVMiQElnxM3XKI9
0edxxni8o+XHUPnz99e3FBvp3V7TDDL4J1uZAPMT1oq4fiQzVcyyVa0fTKRXfoFB
BbjIljyF7CnC+Xm0Wmpcx/lzjlf1l7rx46wefnT2d2mGBFW2VuTWkDx+THNB93+L
v+2hon4srl2/pQ4Ke7CwmKgEuKAgJvcPf5WxUiwjPEDizNVkeQofu1bmfbQQar/s
3TD78Hsi6NW4a/OfH7VHxArVfvDxdwX1loW0MowCN+mIzw3liZhcD9/pZ6lQY1S3
x9kfmE+/ZvcTqUQpNWEnMQfqik2jJSb4YFZ4GN3pXuZV+F/e6GXKczZWKmKTy1Nc
Fi4uN37MuCo=
=D9xo
-----END PGP SIGNATURE-----

#440304#10
Date:
2007-09-04 04:29:43 UTC
From:
To:
Hello, again.  Sorry about this, but I think I was mistaken about this bug
report.  I believe now that the bug is with the bash man page, and not the help
page for 'for'.  It appears that the syntax listed in 'help for' is correct, and
that listed in the bash man page is incorrect.  So sorry for the mixup.

jamie.