Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: How to generate a list of numbers without 'seq'?



    Hi Clint :)

 * Clint Adams <clint@xxxxxxx> dixit:
> >     print -l `seq 0 10`
> >     entirely using Zsh. How can I replace the 'seq'???
> print -l {0..10}

    This is more similar to the solution I was trying using <X-Y>,
which doesn't seem to work if it cannot be expanded :( But IIRC, I've
used <X-Y> syntax to generate list of numbers, but I don't remember
how, when, etc.

    BTW I missed the {N1..N2} syntax under brace expansion O:)

    Thanks a lot for your answer :)

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736
http://www.pleyades.net & http://raul.pleyades.net/



Messages sorted by: Reverse Date, Date, Thread, Author