* Marc Santhoff <M.Santhoff(at)web.de> [2009-01-14 06:56 +0100]:
> #!/bin/sh
>
> awk '{ gsub(/</, "\\<"); \
> gsub(/>/, "\\>"); \
> gsub(/&/, "\\&"); \
> gsub(/"/, "\\""); \
> gsub(/\'/, "\\'"); \
gsub(/'"'"'/, "\\'"); \
oder
gsub(/'\''/, "\\'"); \
> print }' -
ungetestet
Nicolas
-- http://www.rachinsky.de/nicolas To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org with "unsubscribe de-bsd-questions" in the body of the messageReceived on Wed 14 Jan 2009 - 08:01:10 CET