From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3698 invoked from network); 22 Feb 1997 05:26:27 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by coral.primenet.com.au with SMTP; 22 Feb 1997 05:26:27 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id AAA02792; Sat, 22 Feb 1997 00:21:13 -0500 (EST) Resent-Date: Sat, 22 Feb 1997 00:02:01 -0500 (EST) Message-Id: <199702220504.GAA02942@bosun.bm.lu.se> X-Mailer: exmh version 2.0beta 12/23/96 To: Uli Zappe cc: zsh-users@math.gatech.edu Subject: Re: 2 more questions In-reply-to: Your message of "Sat, 22 Feb 1997 05:23:57 +0100." <9702220423.AA01074@tallowcross.uni-frankfurt.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 22 Feb 1997 06:04:08 +0100 From: Tomas Gradin Resent-Message-ID: <"22qwA2.0.Tb.9td3p"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/697 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu >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