Skip to content

Instantly share code, notes, and snippets.

@proger
Created December 18, 2011 21:29
Show Gist options
  • Select an option

  • Save proger/1494532 to your computer and use it in GitHub Desktop.

Select an option

Save proger/1494532 to your computer and use it in GitHub Desktop.
oictl% cat /usr/bin/nroff
#!/bin/sh
echo $* >&2
arg=$(eval echo \$$#)
[ $arg = "-" ] && exec /opt/local/bin/mandoc < /dev/stdin || exec /opt/local/bin/mandoc $arg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment