Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: What gives??

RE: What gives??

From: Nikhil Khimani <nkhimani_at_marketaxess.com>
Date: Wed, 21 Jan 2004 14:04:26 -0800
Message-ID: <F001.005DDC90.20040121140426@fatcity.com>


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
>
>



> =
> [ny-nikhil1:/export/home/nkhimani/bin]$ export AWK="awk '{print \$4}'"
> [ny-nikhil1:/export/home/nkhimani/bin]$ echo ${AWK}
> awk '{print $4}'
> [ny-nikhil1:/export/home/nkhimani/bin]$ cal | awk '{print $4}'
>
> W
>
> 7
> 14
> 21
> 28
>
> [ny-nikhil1:/export/home/nkhimani/bin]$ cal | ${AWK}
> awk: syntax error near line 1
> awk: bailing out near line 1
> [ny-nikhil1:/export/home/nkhimani/bin]$
> --
> 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).
-- 
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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US