![]() |
|
|
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 |
| Searching all files that contain pattern | ravi.sadani19 | Shell Programming and Scripting | 4 | 11-29-2008 06:52 PM |
| Pattern searching pattern in c files | murthybptl | Shell Programming and Scripting | 6 | 11-17-2007 09:15 AM |
| Regarding Searching Pattern | sbasetty | Shell Programming and Scripting | 2 | 09-29-2006 06:49 PM |
| Searching for a pattern in a Directory | gandhevinod | Filesystems, Disks and Memory | 1 | 02-25-2005 08:35 AM |
| pattern searching using C | giannicello | High Level Programming | 1 | 04-16-2002 01:53 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
How to use cat command in sed pattern searching
Hi All,
I have a file named pattern.dat which contains pattern like A1000090 250.00 250.00 i have one more file named test.dat in which this pattern is present. What i should do is, in test.dat after this pattern i should append comments. i used like this sed "/`cat pattern.dat`/ a\ > COMMENT > " test.dat It is throwing error as sed: command garbled: /A1000090 250.00 250.00 / COMMENT please help me out to solve this probelm. Thanks, Sona. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|