Skip to content

Instantly share code, notes, and snippets.

@larryebaum
larryebaum / browser
Created August 16, 2024 18:13 — forked from defunkt/browser
pipe html to a browser
#!/bin/sh -e
#
# Usage: browser
# pipe html to a browser
# e.g.
# $ echo '<h1>hi mom!</h1>' | browser
# $ ron -5 man/rip.5.ron | browser
if [ -t 0 ]; then
if [ -n "$1" ]; then