On 9/5/07, Nathan <debian@ucwv.edu> 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?