Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 2 more questions
- X-seq: zsh-users 697
- From: Tomas Gradin <tg@xxxxxxxxxxxxxx>
- To: Uli Zappe <uli@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: 2 more questions
- Date: Sat, 22 Feb 1997 06:04:08 +0100
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: Your message of "Sat, 22 Feb 1997 05:23:57 +0100." <9702220423.AA01074@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
>Actually, my task was the following:
>
> cat $FILE | mv $FIELD1_IN_LINEX_OF_FILE $FIELD2_IN_LINEX_OF_FILE
Ah, I see. I would do it like this:
cat $FILE | awk '{print $1,$2}' | xargs -n 2 mv
/tg
Messages sorted by:
Reverse Date,
Date,
Thread,
Author