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: Unix Q: Substring-ing an output.

RE: Unix Q: Substring-ing an output.

From: Stephen Lee <slee_at_dollar.com>
Date: Mon, 28 Oct 2002 16:28:39 -0800
Message-ID: <F001.004F5A8C.20021028162839@fatcity.com>

awk/nawk/gawk has gotten way too much credit on this one. We really should give sed a little credit too.

ps -eo args | sed -n 's/\(^ora_smon_\)\(.*\)/\2/p'

-----Original Message-----

Very clever! But unfortunately, -F accepts only 1 character. I tried that though...

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Stephen Lee
  INET: slee_at_dollar.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 Mon Oct 28 2002 - 18:28:39 CST

Original text of this message

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