Skip to content

Instantly share code, notes, and snippets.

@anttikantee
Created September 18, 2013 15:13
Show Gist options
  • Save anttikantee/6610636 to your computer and use it in GitHub Desktop.
Save anttikantee/6610636 to your computer and use it in GitHub Desktop.
nman () {
local c s m;
c=links
[ "$1" = "-e" ] && { c=echo; shift; }
[ $# -gt 1 ] && { s=$1; shift; }
m=$1
$c "http://man.netbsd.org/cgi-bin/man-cgi?${m}+${s}+NetBSD-current"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment