Results 1 to 3 of 3
Is there any way for Sed to confirm every change it makes before it does it?...
- 01-22-2007 #1Just Joined!
- Join Date
- Jan 2007
- Posts
- 1
Sed confirm
Is there any way for Sed to confirm every change it makes before it does it?
- 01-22-2007 #2Linux User
- Join Date
- Jan 2007
- Location
- cleveland
- Posts
- 452
no.
best bet: work on a copy of the filethe sun is new every day (heraclitus)
- 01-22-2007 #3
If you're worried that you've entered the wrong s and r string, sed is interactive without specifying a filename. I usually do this as a test before running it through a file.


Reply With Quote