Path: utzoo!attcan!uunet!cs.utexas.edu!rice!uw-beaver!ubc-cs!alberta!ccu!mills From: mills@ccu.umanitoba.ca (Gary Mills) Newsgroups: comp.unix.questions Subject: Exit Value from Awk Message-ID: <1990Jul17.203037.22283@ccu.umanitoba.ca> Date: 17 Jul 90 20:30:37 GMT Organization: University of Manitoba, Winnipeg, Canada Lines: 6 Does anyone know how to set the exit code from awk within an awk script? My AT&T and Sun manuals are silent on this. I want to be able to do: `awk -f file file || cat file'. -- -Gary Mills- -University of Manitoba- -Winnipeg-