Actions
Bug #673
closedsed -i argument temp file should be optional
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2011-01-27
Due date:
% Done:
0%
Estimated time:
Difficulty:
Tags:
Gerrit CR:
External Bug:
Description
This is valid with gnu sed:
sed -i s/oldtext/newtext/g /my/sed/file
But for the illumos implementation this must be changed too:
sed -i '' s/oldtext/newtext/g /my/sed/file
because -i expects either '' or that path to a backup file.
Related issues
Updated by Garrett D'Amore almost 13 years ago
- Status changed from New to Closed
This is a duplicate of 586.
Actions