Recent Changes - Search:

Softwares

.

UsingSedEditorToSubstituteOneValueForAnother

Using Sed Editor

  • Sed Syntax

The syntax for the utility is:

sed [options] '{command}' [filename]

  • Substitute
   shibu@shibu-laptop:~$ echo tiger will meet on monday | sed 's/tiger/wolf/'
   wolf will meet on monday

We can use filename also here...

Edit - History - Print - Recent Changes - Search
Page last modified on February 14, 2007, at 03:58 PM