Picking a character from a word
Root Boy Jim
rbj at icst-cmr.arpa
Wed May 4 05:41:22 AEST 1988
From: "Richard A. O'Keefe" <ok at quintus.uucp>
The world is still waiting for a UNIX utility like test(1) or expr(1)
which works all the time. [re: test "$a", if a is "-z"]
Good point. In fact, one might argue that neither concept ought to be
used. In the old days, we used tricks like `test "x$a" = "x"'. While
such tricks are nonintuitive, they get the job done, and with an
appropriate hint in the manual, solve the user's problem all the time.
(Root Boy) Jim Cottrell <rbj at icst-cmr.arpa>
National Bureau of Standards
Flamer's Hotline: (301) 975-5688
The opinions expressed are solely my own
and do not reflect NBS policy or agreement
What UNIVERSE is this, please??
More information about the Comp.unix.questions
mailing list