in reply to Re: Bad interpreters coming out
in thread Bad interpreters coming out
Old files are .pl and .sh, the perl script created by a website which sends the .pl into the debian based system through ssh, the .sh file is generated by the system itself
the OS is a debian based OS
The ^M characters are like:
`cp /tmp/unzip/*.cfg /tmp/unzip/seed`;^M
That is just one line of the new file, ^M is all over the file everywhere
I read the file using
open FH, "< $filename" or die "smth smth";I wrote to the file using
open NF, "> $filename2" or die "blabla";I opened it using vim
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Bad interpreters coming out
by GrandFather (Saint) on Apr 06, 2011 at 09:33 UTC |