Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Segregating a Global Alias
- X-seq: zsh-users 18663
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zzapper <david@xxxxxxxxxxxxxx>
- Subject: Re: Segregating a Global Alias
- Date: Mon, 24 Mar 2014 10:22:07 -0700
- Cc: zsh-users@xxxxxxx
- In-reply-to: <XnsA2FA95D9D45BDdavidrayninfocouk@80.91.229.13>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <XnsA2FA95D9D45BDdavidrayninfocouk@80.91.229.13>
On Mar 24, 2014 7:46 AM, "zzapper" <david@xxxxxxxxxxxxxx> wrote:
>
> perl -ne 's/(<\/\w+>)/$1\n/g; print' < NF > {NF}.txt ### Doesn't work
(){ perl -ne 's/(<\/\w+>)/$1\n/g; print' < $1 > $1.txt } NF
Messages sorted by:
Reverse Date,
Date,
Thread,
Author