Michael Marsh wrote:
On 9/5/07, Nathan <[EMAIL PROTECTED]> wrote:
Michael Marsh wrote:
The following one-liner should do it (it works for me):
perl -pe '$_ .= "\n"' <filename>
You could also do the following:
perl -pi.bak -e '$_ .= "\n"' <filename>
<filename> will now contain the double-spaced text, and <filename>.bak
will contain the original file.
That seems to do the trick, however I'm finding that it isn't matching
when I do a case insensitive search for something that isn't a complete
word. For example a user name of " nathan " or " Nathan " works. But
DOMAIN\Nathan gets skipped.
How can I fix that? Thanks for all of the help!
There's no matching going on here. What are you trying to do that
isn't working?
My mistake. I used the perl statement above in another script. That
script does the searching/matching. So disregard that last question.
Thanks for the help with the line breaks though!
Nathan
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]