"Gisle Vanem" <[EMAIL PROTECTED]> wrote:
> But I really need an output w/o the quotes. So I tried:
>  VERSION = `grep WATTCP_VER_STRING inc/tcp.h | cut -d' ' -f4 | sed -e /\\"//`

You missed the "s" in the sed command.  You'll also need a "g" at the
end of it:
VERSION = `grep WATTCP_VER_STRING inc/tcp.h | cut -d' ' -f4 | sed -e s/\\"//g`

This might be easier to read:

VERSION = `grep WATTCP_VER_STRING inc/tcp.h | cut -d' ' -f4 | tr -d '"'`


paul


Reply via email to