Finding the last arg

Larry Walllwall at jpl-devvax.JPL.NASA.GOV
Fri Jan 4 10:55:21 AEST 1991


In article <2577 at wn1.sci.kun.nl> hansm at cs.kun.nl (Hans Mulder) writes: : I think the latter behaviour is more useful. For one thing, it makes : "if foo | grep -s bar" work right 100% of the time.  Presuming, of course, that your grep actually returns a reasonable exit status. Some don't, alas. And the moral of the story? It's easier to port a shell than a shell script. Larry Wall lwall at jpl-devvax.jpl.nasa.gov


More information about the Comp.unix.shell mailing list
close