diff options
author | N.N. <krzyszcz@users.sourceforge.net> | 2004-02-19 22:23:18 +0000 |
---|---|---|
committer | N.N. <krzyszcz@users.sourceforge.net> | 2004-02-19 22:23:18 +0000 |
commit | d0f6986345970955d6390a6953c35babf587c262 (patch) | |
tree | b9c55d804a317558da506f9655ff495856ef47d8 /quoteinitializer | |
parent | d405128358369b5b7424c086c67345d12edfde7d (diff) |
many small improvements in toxy, plustot added
svn path=/trunk/externals/miXed/; revision=1321
Diffstat (limited to 'quoteinitializer')
-rwxr-xr-x | quoteinitializer | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/quoteinitializer b/quoteinitializer new file mode 100755 index 0000000..495eefe --- /dev/null +++ b/quoteinitializer @@ -0,0 +1,13 @@ +#!/usr/bin/awk -f + +BEGIN\ +{ + print "// Do not edit this file (edit \""ARGV[1]"\", and run \"make\").\n" + if (ARGC > 2) { print ARGV[2]; ARGC = 2 } +} + +{ + gsub("\\\\", "\\\\"); + gsub("\\\"", "\\\""); + print "\""$0"\\n\"" +} |