'cut -f -1,2,3,... $x $y $z ...' Might extract the columns in a tab delimited files in one loop. I haven't tried this myself. Correct me if I'm wrong. > -----Original Message----- > From: brad [mailto:brad@bradandkim.net] > Sent: Tuesday, November 11, 2003 2:38 PM > To: kclug@kclug.org > Subject: Shell script > > > I have a tab delimited list of usernames and passwords that I need to > run a set of system commands on. I was thinking maybe I could build a > for loop and assign the first entry on the line as $x and the second > entry on the line as $y. Is this possible? Or am I going to have to > use sed or awk? > > Thanks in advance, > > Brad > > > > majordomo@kclug.org >