2 # uzblcat - safely push html to uzbl
3 # See http://www.uzbl.org/wiki/html-mode
4 use strict; use warnings;
7 local $/; # slurp files
8 # automagically choose to read from stdin/files/...
12 $endmarker .= rand() while $html =~ /^\Q$endmarker\E$/m;
14 print "set base_url = $ENV{BASE_URL}\n" if $ENV{BASE_URL};
16 set html_endmarker = $endmarker