Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Segregating a Global Alias
- X-seq: zsh-users 18661
- From: zzapper <david@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Segregating a Global Alias
- Date: Mon, 24 Mar 2014 14:43:35 +0000 (UTC)
- 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
- Organization: rayninfo
Hi
I want to create an output file based on the name of the input file however
the input file is foung using a Global alis NF
perl -ne 's/(<\/\w+>)/$1\n/g; print' < NF > {NF}.txt ### Doesn't work
where
alias -g NF='*~vssver.scc(.om[1])'
Solutions, alternatives?
--
zzapper
https://twitter.com/dailyzshtip
Messages sorted by:
Reverse Date,
Date,
Thread,
Author