File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / sqlite3 / tool / tostr.awk
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 17:04:17 2012 UTC (12 years, 10 months ago) by misho
Branches: sqlite3, MAIN
CVS tags: v3_7_10, HEAD
sqlite3

    1: #!/usr/bin/awk
    2: #
    3: # Convert input text into a C string
    4: #
    5: {
    6:   gsub(/\"/,"\\\"");
    7:   print "\"" $0 "\\n\"";
    8: }

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>