PAUL TRACESKI wrote:
> 
<snip>
> 
> I would like to take lines that end in & and somehow  eliminate
> the new line feed so that I will end up with something like:
> 
<snip>

perl -pe 'chop if /&$/;' < infile > outfile

Marc

-- 
Marc Mutz <[EMAIL PROTECTED]>        http://marc.mutz.com/Encryption-HOWTO/
University of Bielefeld, Dep. of Mathematics / Dep. of Physics

PGP-keyID's:   0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to