Warner Losh <i...@freebsd.org> writes: > Log: > Implement quote escaping. String values may now contain " if you > it is preceded by \.
If you're interested, openpam_readword(3) implements the full POSIX shell quoting rules, including line continuations and multi-line quoted strings, and should be fairly easy to translate to C++. There is also an openpam_readlinev(3) which reads a full line (or more in case of line continuations) and returns an array of words. Obviously, you'll want to copy & adapt them rather than link devd with libpam. contrib/openpam/lib/libpam/openpam_read{word,linev}.c DES -- Dag-Erling Smørgrav - d...@des.no _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"