Hi,
I am trying to make the output of a command on a file, feed itself into the same file ... in other words
sed -e -n 's/text//g' file1 > file1
... instead of getting an updated file1, containing only the new sorted text. I get a blank file1
I guess this must be a fairly simple question ... anyone have any ideas ???
I am trying to make the output of a command on a file, feed itself into the same file ... in other words
sed -e -n 's/text//g' file1 > file1
... instead of getting an updated file1, containing only the new sorted text. I get a blank file1
I guess this must be a fairly simple question ... anyone have any ideas ???