Exit Value from Awk
Richard Stevens
stevens at hsi.UUCP
Wed Jul 18 19:23:54 AEST 1990
In article <1990Jul17.203037.22283 at ccu.umanitoba.ca> mills at ccu.umanitoba.ca (Gary Mills) writes:
>
>Does anyone know how to set the exit code from awk within an awk
>script?
Just say "exit <expression>". I just tried it and it works under
V7 awk, SVR3.1 awk, nawk, and gawk.
Richard Stevens
3M Health Information Systems, Wallingford, CT
stevens at hsi.com
More information about the Comp.unix.questions
mailing list