Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: What gives??
Yep!
Thanks,
Nikhil
-----Original Message-----
Sent: Wednesday, January 21, 2004 2:55 PM
To: Multiple recipients of list ORACLE-L
[oriole_at_frlinux1 oriole]$ export AWK="awk '{print \$4}'"
[oriole_at_frlinux1 oriole]$ echo ${AWK}
awk '{print $4}'
[oriole_at_frlinux1 oriole]$ cal | awk '{print $4}'
We
7
14
21
28
[oriole_at_frlinux1 oriole]$ cal | ${AWK}
awk: cmd. line:1: '{print
awk: cmd. line:1: ^ Invalid char ''' in expression
[oriole_at_frlinux1 oriole]$ cal | "${AWK}" bash: awk '{print $4}': command not found [oriole_at_frlinux1 oriole]$ cal | eval "${AWK}"
We
7
14
21
28
[oriole_at_frlinux1 oriole]$
Nikhil Khimani wrote:
>
> L&G,
>
> I know there is a simple solution to this .. but I can't think of it right
> now. Any help will be appreciated ...
>
> Thanks,
>
> Nikhil
>
>
-- Regards, Stephane Faroult Oriole Software -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Stephane Faroult INET: sfaroult_at_oriole.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Nikhil Khimani INET: nkhimani_at_marketaxess.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed Jan 21 2004 - 16:04:26 CST