1 2 3 4 5 6 7 8 9 10 11 12
#!/usr/bin/env python # uzblcat - safely push html to uzbl # See http://www.uzbl.org/wiki/html-mode from sys import stdin, stdout stdout.write("uri data:text/html,") for line in stdin: stdout.write(line[0:-1]) # vim: set noet ff=unix