I am reading a line at a time of a windows log file
and want to strip off the CR or LF characters at the end of the line
chomp seems to have a weird effect (returning the cursor to the beginning of
the line!)
I am sure there is a regex to do this (similar to s/\cM//g for MAC line
endings)
but I don't know what characters are at the end of
lines on a windows machine.
Can anyone help?
TIA
Terry Honeyford
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]