Help with batch file.

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

 



Hi all,
I am writing a bash script. Part of the script involves deleting one
line of a file, which will be located anywhere in the file.

The line will follow the syntax:

$1.$FILE

How can I delete this from a file? I believe sed is the way forward, but
can't find anything in the manual.

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