From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,eaa0fe7f45416a1d,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-09-02 09:42:27 PST Path: bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!news.umbc.edu!haven.umd.edu!nova.umd.edu!not-for-mail From: szewczyk@nova.umd.edu (Jay Szewczyk) Newsgroups: comp.unix.osf.osf1 Subject: awk help Date: 2 Sep 1994 11:44:37 -0400 Organization: University of Maryland University College Message-ID: <347h95$8md@nova.umd.edu> NNTP-Posting-Host: nova.umd.edu I have a question about awk in OSF/1. According to the Man Pages there is a function called "getline" which sets $0 to the next record of the input file. I cannot seem to make this work. Can someone give an example of how I would use getline in a script. Also, How would I pass variables from awk back to a unix c-shell script. Thanks ahead of time for your help, Jay