Documentation issue: Increments in brace expansion

View: New views
2 Messages — Rating Filter:   Alert me  

Documentation issue: Increments in brace expansion

by Jan Schampera :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Good morning,

http://www.gnu.org/software/bash/manual/bashref.html#Brace-Expansion

The brace expansion increment syntax is shown wrong.

OLD:

A sequence expression takes the form {x..y[incr]}, where x and y are
either integers or single characters, and incr, an optional increment,
is an integer.


PROPOSED NEW:

A sequence expression takes the form {x..y[..incr]}, where x and y are
either integers or single characters, and incr, an optional increment,
is an integer separated by `..'.




Sorry if this already is fixed in the base documents, I didn't have time
to check deeply.

Jan



Re: Documentation issue: Increments in brace expansion

by Chet Ramey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jan Schampera wrote:

> Good morning,
>
> http://www.gnu.org/software/bash/manual/bashref.html#Brace-Expansion
>
> The brace expansion increment syntax is shown wrong.
>
> OLD:
>
> A sequence expression takes the form {x..y[incr]}, where x and y are
> either integers or single characters, and incr, an optional increment,
> is an integer.
>
>
> PROPOSED NEW:
>
> A sequence expression takes the form {x..y[..incr]}, where x and y are
> either integers or single characters, and incr, an optional increment,
> is an integer separated by `..'.
>
>
>
>
> Sorry if this already is fixed in the base documents, I didn't have time
> to check deeply.

It is already fixed.  Thanks for the catch.

Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@...    http://cnswww.cns.cwru.edu/~chet/