plumber

Plumber – a modern approach to plumbing
git clone git://r-36.net/plumber
Log | Files | Refs | README | LICENSE

wikiopener (183B)


      1 #!/bin/sh
      2 
      3 if [ $# -lt 1 ];
      4 then
      5 	printf "usage: [-o] %s URI\n" "$(basename "$0")" >&2
      6 	exit 1
      7 fi
      8 
      9 URI="$(printf "%s" "$1" | cut -d':' -f 2-)"
     10 
     11 $XTERM -e sh -c "wiki -e \"${URI}\";"
     12