zsh-users
 help / color / mirror / code / Atom feed
From: DervishD <raul@pleyades.net>
To: Clint Adams <clint@zsh.org>
Cc: Zsh Users <zsh-users@sunsite.dk>
Subject: Re: How to generate a list of numbers without 'seq'?
Date: Fri, 19 Mar 2004 10:58:40 +0100	[thread overview]
Message-ID: <20040319095840.GD1228@DervishD> (raw)
In-Reply-To: <20040318211223.GA1543@scowler.net>

    Hi Clint :)

 * Clint Adams <clint@zsh.org> 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/


  reply	other threads:[~2004-03-19 10:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-18 20:52 DervishD
2004-03-18 21:12 ` Clint Adams
2004-03-19  9:58   ` DervishD [this message]
2004-03-19 16:34     ` Dan Nelson
2004-03-20 10:00       ` DervishD
2004-03-21  3:54         ` Dan Nelson
2004-03-21 12:06           ` DervishD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040319095840.GD1228@DervishD \
    --to=raul@pleyades.net \
    --cc=clint@zsh.org \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).