
Hello, I've got a problem. Iwas trying to use perl to get a pattern out of a bunch of files. The pattern was .ecc wanted to replace it with nothing just remove it no extra space no nothing. My perl command was: perl -i -p -e "s/.ecc/''/g;" filelist Normally I use '' for my perl patterns but didn't think that would work due to the need for the period. I tried this on a copy of one of the files and it seemed to work. Trying it for real now has blown things up, the pattern is gone but I think perl added '' and/or hidden characters in the files that I am not seeing. I got a message from perl "setting locale failed. Please check that your locale settings LANGUAGE=(unset) LC_ALL=(unset) LANG = "en_us" are installed on your system" that's the gist. When I did this I was one user and used sudo to go another in this case sudo -i. How do I fix this? Thanks. Dave. -- Sent with Thunderbird