FAQ 5.36 Why does Perl let me delete read-only files? Why does "-i" clobber protected fil...
Join us today to reply or post a new message!
or Login as user:
FAQ 5.36 Why does Perl let me delete read-only files? Why does "...
Do you have a question? Post it now! No Registration Necessary.
Now with pictures!
Contact options for registered users
July 20, 2005, 8:03 am
rate this thread
Repair the corrupted file:
perl -p -i -e 'tr/\r//d' bad_file
Tad McClellan SGML consulting
email@example.com Perl programming
Fort Worth, Texas
Other Related Threads
Recompiling perl from scratch
'invalid token' error and segmentation fault (XML issue?)
Read-Only Files in \Windows directory
Smartphone OS Forum
FAQ 1.3 Which version of Perl should I use?
— Next thread in »
Regex (?(?)) has too many branches
— Previous thread in »
s suffix question
— Newest thread in »
Adblock Testscript problem
— The site's Newest Thread. Posted in »
HTML Markup Language
Terms of Service
Web Programming by 1-script.com