I would like to delete a line in a file matching a word i used s/^myword$//g.
exemple of file before
myword
otherword
otherword
exemple of file after
(blank line)
otherword
otherword
But the file appears with blank line.
how can remove completly the blank line ?
Thanks a lot for your help.
Bur.
exemple of file before
myword
otherword
otherword
exemple of file after
(blank line)
otherword
otherword
But the file appears with blank line.
how can remove completly the blank line ?
Thanks a lot for your help.
Bur.