You could retrieve a backed-up version (you do have backups, don't ya? ), then perform a "diff" on them and carefully look at the changes you made. That seems to be the most efficient way to me.
'diff' is indeed a program that comes with most, if not all, Linux/Unix distributions.
You can do something like: diff -u script.wks script.cgi > script.diff
script.wks - the copy that was working at the time of backup
script.cgi - your current malfunctioning script
script.diff - a file containing all the differences between the two files
"man diff" for more information about 'diff'.
Good luck.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.