aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/data/scripts/uzblcat
blob: e955608dada77633f10f621cee4dd95675244477 (plain)
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