Re: shell brace expansion (was "regex help")

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tim again.

> So, the syntax is
> 
> start value double dot end value double dot step increment
> 
> and if the third value is omitted, it defaults to steps of 1.

Unless the first value is less than the second value in which case
the step defaults to -1 such as

  $ echo {5..1}
  5 4 3 2 1

-tim

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list




[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]