All, I am having a problem with a parser which works in DOS, but does not work in the OS X BSD shell. The problem is trying to find lines that begin with a newline character. I have tried exactly the same source files, but it doesn�t work. Here�s the code:
if ($line =~ /^\n/) {
# Do Something
}
Why would this happen? Any ideas?
-Bruce
