- Aug 31, 2004
- 473
- 0
- 71
I have my expression written and it works when I send the output to a new file:
ex: sed 'expression' input > output
What I want to do is just use: sed 'expression' input
I don't want to rename the file, I just want the operation to be performed on that file. All it does is delete lines that match a certain criteria. How can I do this?
ex: sed 'expression' input > output
What I want to do is just use: sed 'expression' input
I don't want to rename the file, I just want the operation to be performed on that file. All it does is delete lines that match a certain criteria. How can I do this?