[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shopt, shopt -o (set -o) manage the same flag (interactive_comments)
From: |
Chet Ramey |
Subject: |
Re: shopt, shopt -o (set -o) manage the same flag (interactive_comments) |
Date: |
Fri, 25 Apr 2008 13:45:39 -0400 |
User-agent: |
Thunderbird 2.0.0.12 (Macintosh/20080213) |
antonio wrote:
Description:
it's not a bug, but a strange behavior
the flag interactive_comments is accessible from both shopt and shopt -o
shopt | grep interactive_comments
shopt -o | grep interactive_comments
in your documentation (bashref), shopt -o (set -o) does not have this
flag...
There is an inconsistency. `set -o'/`shopt -o' manage
`interactive-comments', but `shopt' also controls an identical option
named `interactive_comments'. That one has to be my bad.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong. No day but today.
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/