I think the main question has already been answered here, but does the reason that only some paths use ./ have anything to do with this?
EDIT: derp it explains it right below:
http://actiongame.svn.sourceforge.net/vi...ision=6129 Wrote:Remove un-needed data from *.cfg files by running this command:I don't know how this gawk thing works, but it doesn't appear to have anything to do with it.
gawk '{sub(/\r$/,"")};1' INPUT_FILE.cfg | gawk -F'//' '{print $1}' | gawk '{sub(/[ \t]+$/, "")};1' | gawk NF > OUTPUT_FILE.cfg
EDIT: derp it explains it right below:
http://actiongame.svn.sourceforge.net/vi...ision=6129 Wrote:- This will convert all new-lines to UNIX format (instead of DOS format).
- This will remove all comments, trailing spaces/tabs & blank lines in that file.