From d0f6986345970955d6390a6953c35babf587c262 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Thu, 19 Feb 2004 22:23:18 +0000 Subject: many small improvements in toxy, plustot added svn path=/trunk/externals/miXed/; revision=1321 --- quoteinitializer | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 quoteinitializer (limited to 'quoteinitializer') 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\"" +} -- cgit v1.2.1