On Thu, Sep 14, 2000 at 08:25:48PM -0700, Gary Kline wrote:
> foo.c to foo.o or simply foo with or without calling
> non-builtin programs?
Look in man sh(1) for parameter expansion syntax like:
a=foo.c
echo ${a%.c}.o
There's also %%, # and ## to give smallest or largest matches at
the end or beginning of the string. I think that this is part
of the Posix sh syntax, so you'll probably find it pretty widely
implemented by now.
--
Andrew
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message