[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
shopt help possibly wrong
From: |
Hugo Gabriel Eyherabide |
Subject: |
shopt help possibly wrong |
Date: |
Fri, 27 Jul 2018 14:00:02 +0300 |
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='bas$
uname output: Linux hugo-agile 4.13.0-43-generic #48~16.04.1-Ubuntu SMP Thu
May 17 12:56:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu
Bash Version: 4.3
Patch Level: 48
Release Status: release
Description:
After reading the documentation in "help shopt" I attempted to set
flags, for example, noclobber, by using "shopt -s noclobber", but got an
error message. I've found that I can do that by using "shopt -s -o
-noclobber" but that the help provided me no indication that the additional
"-o" was actually necessary.
Repeat-By:
Using "shopt -s noclobber" (or any optname) instead of "shopt -s -o
noclobber).
Fix:
I would suggest to change the help of shopt so that it says [-o
[optname ...] ] instead of [-o] [optname ...], and change the help where
relevant.
Thank you very much.
Yours faithfully.
- shopt help possibly wrong,
Hugo Gabriel Eyherabide <=