![]() |
|
|
|
|
|||||||
| Filesystems, Disks and Memory Questions involving NAS, SAN, RAID, Robotic Libraries, backups, etc go here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Delete particular value from file using 'sed' | sai_nj | Shell Programming and Scripting | 2 | 03-30-2008 09:38 PM |
| Question about 'sed' | heartsunny2000 | Shell Programming and Scripting | 4 | 02-21-2008 02:10 PM |
| Using variable inside 'sed' | Rock | Shell Programming and Scripting | 3 | 11-23-2007 12:50 PM |
| How to 'sed' the middle line? | g_jumpin | Shell Programming and Scripting | 7 | 11-08-2006 01:14 PM |
| Number a list at end of line using 'sed' | chassis | Shell Programming and Scripting | 5 | 09-13-2006 11:38 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Question about 'sed'
Hi all:
I understand that the following action: sed '1s/a/b/' f will search the first line of f and find the first ocurrence of a then replaced by b. But, instead of specify a character or string, is there any way I can specify the column(s) we want to replace then replace it by using 'sed'? Thanks for help. |
|||
| Google UNIX.COM |
| Forum Sponsor | ||
|
|
| Thread Tools | |
| Display Modes | |
|
|