[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: -i option of set missing in man bash
From: |
Peng Yu |
Subject: |
Re: -i option of set missing in man bash |
Date: |
Thu, 12 Mar 2015 13:13:18 -0500 |
>> The -i option obviously works with set. But it is missing in the man
>> page. Should this be added?
>
> No. It's really only there for completeness, so things like `set $-'
> work as expected without error.
But if something is in the implementation, it should be also in the
documentation, right?
> The -s option does the same thing,
> for example.
>
> -i is described in the OPTIONS section of the man page, since invocation
> is the only place using it makes sense.
Not necessarily. See my other example sent recently on the mailing
list of trying to get COLUMNS.
One may want to manually set -i option in a bash script for whatever
reason. (In this case, it is to check COLUMNS.)
--
Regards,
Peng
- -i option of set missing in man bash, Peng Yu, 2015/03/11
- Re: -i option of set missing in man bash, Chet Ramey, 2015/03/12
- Re: -i option of set missing in man bash,
Peng Yu <=
- Re: -i option of set missing in man bash, Chet Ramey, 2015/03/13
- Re: -i option of set missing in man bash, Peng Yu, 2015/03/13
- Re: -i option of set missing in man bash, Eduardo A . Bustamante López, 2015/03/14
- Re: -i option of set missing in man bash, Chet Ramey, 2015/03/16
- Re: -i option of set missing in man bash, Eduardo A . Bustamante López, 2015/03/16
- Re: -i option of set missing in man bash, Chet Ramey, 2015/03/20