![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help, filtering some info. from a file under "()" | varungupta | UNIX for Advanced & Expert Users | 10 | 09-11-2007 07:59 AM |
| Filtering multiple entries in a file | suman_jakkula | Shell Programming and Scripting | 2 | 08-22-2006 06:02 AM |
| Urgent: Filtering a File | HItesh | Shell Programming and Scripting | 5 | 05-11-2006 05:16 AM |
| Difficult Filtering Problem | Piyush | UNIX for Advanced & Expert Users | 1 | 06-30-2003 05:06 PM |
| filtering by file size | nir | UNIX for Dummies Questions & Answers | 2 | 01-17-2002 10:17 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
problem in filtering the file
--------------------------------------------------------------------------------
Hi, Plz help me out with this. I have some requirement like this..... I have a file like this... * CS sent email (11.20) CALYPSO 1031276 9076673 CDSHY FAILED Nov 19 2007 7:28AM OASYS: Unable to find CUSTOMER account GSINTLModify() failed for root: Fee,, node:ThirdPartyMnemonic,GSINTLModify() failed for root: Transaction,, node:FeeList,Unable to find CUSTOMER account GSINTLModify() failed for root: Fee,, node:ThirdPartyMnemonic,G * SS sent email (11.20) CALYPSO 1241789 9091113 CDSNRG FAILED Nov 20 2007 12:47PM OASYS: Unable to find Cusip <656060900> in Global Products .Failed to Get Cusip Information *CR sent email (11.05) CALYPSO 1121098 9039424 LDS3C FAILED Nov 14 2007 10:19AM OASYS: Unable to find CUSTOMER account RBSGRN3CModify() failed for root: Transaction,, node:CounterPartyMnemonic,RBSGRN3CModify() failed for root: Deal,, node:TransactionList, Now my requirement is .... a)I need to read the section starts from * until it encounters a blank line in the above file and write into a temporary file say checkfailed.txt. b)Then I need to read the comment line from checkfailed .txt and then add it to another file dealfailed.txt. Kindly help me out in that... |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|