I need to remove dos characters from a text file from my html page.
I wrote the following lines in a perl file cleanup.pl
and added the line <!--#exec cmd="./ident.pl" --> in my html file
$d=`dos2unix results.txt results.txt`; //results.txt has permission 777
This is the output I got:
dos2unix: Couldn't open output file udiiaqHC.
Permission denied. done...........
Any idea why this error comes up?
I found that udiiaqHC is a random thing, if I do a page refresh, I get some other string like udpQayIC