Help with batch file.

cody churst35 at verizon.net
Wed Aug 29 16:50:47 EDT 2007


Can't you use grep for that. find the line then somehow delete it once 
found. now that I think about it I'm not actually sure how you'd do that Or 
replace that found line with a blank line..
----- Original Message ----- 
From: "Chris Norman" <chris.norman4 at ntlworld.com>
To: "Speakup List" <speakup at braille.uwo.ca>
Sent: Tuesday, August 28, 2007 10:47 AM
Subject: Help with batch file.


> 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 -->
>
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup 





More information about the Speakup mailing list