Recent Changes - Search:

Softwares

.

UsingSedEditorToSubstituteOneValueForAnother

Main.UsingSedEditorToSubstituteOneValueForAnother History

Hide minor edits - Show changes to markup

February 14, 2007, at 03:58 PM by 202.56.231.116 -
Changed lines 3-4 from:

1. Substitute

to:
  • Sed Syntax

The syntax for the utility is:

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

  • Substitute
Changed lines 12-14 from:
   wolf will meet on monday
to:
   wolf will meet on monday

We can use filename also here...

February 14, 2007, at 03:55 PM by 202.56.231.116 -
Added lines 1-6:

Using Sed Editor

1. Substitute

   shibu@shibu-laptop:~$ echo tiger will meet on monday | sed 's/tiger/wolf/'
   wolf will meet on monday
Edit - History - Print - Recent Changes - Search
Page last modified on February 14, 2007, at 03:58 PM