Path: utzoo!attcan!uunet!cs.utexas.edu!csd4.csd.uwm.edu!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!mailrus!cornell!uw-beaver!blake!akbar.cac.washington.edu!mbader From: mbader@cac.washington.edu (Mark Bader) Newsgroups: comp.unix.questions Subject: extracting "rest of line" in AWK Keywords: awk Message-ID: <3368@blake.acs.washington.edu> Date: 25 Aug 89 04:03:30 GMT Sender: mbader@blake.acs.washington.edu Reply-To: mbader@cac.washington.edu (Mark Bader) Distribution: na Organization: Networks & Distributed Computing, U of Washington Lines: 18 Does anyone know of a way to extract the "rest of the line" in awk.. e.g. I have a line that looks like %% Heading "This is a Graph Heading" and I want to do a {print $3} to get the "This is a Graph Heading" part, but this obviously dosen't work. Is there a way to do this? If there were a shift command, then I could shift off the first 2 fields, but is there a way to simulate this? Thanks in advance, Mark Bader INTERNET: mbader@cac.washington.edu Networks and Distributed Computing, UW BITNET: mbader@uwav1 3737 Brooklyn Ave. NE BELL: (206) 543-5128 Seattle, WA 98105