Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Reading line by line
- X-seq: zsh-users 11383
- From: "djh" <henman@xxxxxxxxxxxxxx>
- To: "Zsh Users List" <zsh-users@xxxxxxxxxx>
- Subject: Re: Reading line by line
- Date: Wed, 11 Apr 2007 16:55:53 +0900
- In-reply-to: Your message of Wed, 11 Apr 2007 08:46:27 +0100 <20070411074627.GC4996@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20070411033311.GA6837@solfire> <461C5C81.20609@xxxxxxxxxx> <20070411063800.GA4996@xxxxxxxxxxxxxxx> <20070411155509.2180@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20070411072923.GB4996@xxxxxxxxxxxxxxx> <20070411074627.GC4996@xxxxxxxxxxxxxxx>
Yes, I agree that perl would be a good choice for an intermediary level application.
If however one doesn't yet know it or want to learn it, and they're data is easily parsed with IFS's .... then go ahead and use the built in command "read".
A lot depends on what needs to be done and how the data is laid out.
> > You're thinking of the shell as of a programming language, not a
> > shell. A shell is a command line interpreter before all, if you
> > want to do shell processing *programmatically*, use perl or
> [...]
>
> text processing
Darel Henman
Messages sorted by:
Reverse Date,
Date,
Thread,
Author