Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!rpi!zaphod.mps.ohio-state.edu!samsung!noose.ecn.purdue.edu!mentor.cc.purdue.edu!sage.cc.purdue.edu!asg From: asg@sage.cc.purdue.edu (The Grand Master) Newsgroups: comp.unix.questions Subject: Re: reading a list from a file Message-ID: <7395@mentor.cc.purdue.edu> Date: 6 Mar 91 19:42:27 GMT References: <1991Mar6.175759.18653@cunixf.cc.columbia.edu> Sender: news@mentor.cc.purdue.edu Reply-To: asg@sage.cc.purdue.edu (The Grand Master) Organization: Purdue University Lines: 28 In article <1991Mar6.175759.18653@cunixf.cc.columbia.edu> ta-dw30@cunixa.cc.columbia.edu writes: %Is there any way to read a list from a file? For instance, could I say % %for x in ; do finger $x; done % % Thanx. % %============================================================================= %David C Worenklein | No one could tell me where my soul might be; Try: for x in `cat filewithlistoffriends` # note these are `s not 's do finger $x done --------- sar.casm \'sa:r-.kaz-*m\ \sa:r-'kas-tik\ \-ti-k(*-)le-\ n [F sarcasme, fr. LL sarcasmos, fr. Gk sarkasmos, fr. sarkazein to tear flesh, bite the lips in rage, sneer, fr. sark-, sarx flesh; akin to Av thwar*s to cut] 1: a cutting, hostile, or contemptuous remark : GIBE 2: the use of caustic or ironic language - sar.cas.tic aj ### ## Courtesy of Bruce Varney ### # aka -> The Grand Master # asg@sage.cc.purdue.edu ### ##### # PUCC ### # ;-) # # ;'> # ##