Hey people,

I am new here. Programmer. Good site, guys!

I have a question : 
In a sh script, I want to capture the output printed
to the error stream. 

gcc with NeXT PDO does that on my box. 

I want to capture version number out of gcc. I tried
gcc -v |& awk '{ print $3}', won't work under sh,
works with csh. Any clues for /bin/sh ? Anybody ? 

Cheers,
Amol.

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

          ================================================
To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header
Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
          =================================================

Reply via email to