Help with batch file.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I just deleted the e-mail that had the sed -i command in it, so I can't
reply to it directly.

I tried it, but it only deletes the line, and not the following blank
line. \n didsn't work. How do I get rid of the blank line too?

I use 's/text$//'.

Cheers.
-- 


Chris Norman.

<!-- chris.norman4 at ntlworld.com -->





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux