![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| double-quote inside double-quote | indraf | Shell Programming and Scripting | 3 | 10-20-2008 06:53 AM |
| How to get rid of double quote in sed. | anakiar | Shell Programming and Scripting | 6 | 07-28-2008 09:56 AM |
| Problem with double quote and string variable | mattemp | Shell Programming and Scripting | 6 | 03-19-2008 01:21 AM |
| Escape Char for double quote | navik_pathak | Shell Programming and Scripting | 1 | 01-05-2007 02:34 PM |
| single or double quote in SED | asami | Shell Programming and Scripting | 2 | 07-17-2006 04:03 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Extracting the records which contains atleast one double quote(")
Hi Experts, I have a file with some of records contain double quotes ("). I need to write these records in separate file and have to delete the same records from the original file. For Example: Orginal File : Code:
100000,abcd,CRED,MO 100001,"efgh",CRED 100002,ijkl,CRED,TX 100003,"mnop",CRED,TX 100004,qrstuv,CRED After executing shell scripting it has to generate two files as below... File 1 : Code:
100000,abcd,CRED,MO 100002,ijkl,CRED,TX 100004,qrstuv,CRED File 2 : Code:
100001,"efgh",CRED 100003,"mnop",CRED,TX Can you please help in this scenarios in shell scripting. Next time use CODE-tags when post code, data or logs to enhance readability and to keep formatting like indention etc., ty. Last edited by zaxxon; 07-17-2009 at 02:39 AM.. Reason: code tags |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|