Official Map Configuration Files
#7
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?
http://actiongame.svn.sourceforge.net/vi...ision=6129 Wrote:Remove un-needed data from *.cfg files by running this command:
gawk '{sub(/\r$/,"")};1' INPUT_FILE.cfg | gawk -F'//' '{print $1}' | gawk '{sub(/[ \t]+$/, "")};1' | gawk NF > OUTPUT_FILE.cfg
I don't know how this gawk thing works, but it doesn't appear to have anything to do with it.

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.
Thanks given by:


Messages In This Thread
RE: Official Map Configuration Files - by Lantry - 10 Feb 12, 04:16AM