diff options
author | Phil Shafer <phil@FreeBSD.org> | 2017-08-03 15:47:42 +0000 |
---|---|---|
committer | Phil Shafer <phil@FreeBSD.org> | 2017-08-03 15:47:42 +0000 |
commit | fd5e3f3ec6c6248e892c9e7b2f17da3bfe7b6837 (patch) | |
tree | abb95fd2932530e897254fcba8741923253fb6ce /usr.bin/xohtml | |
parent | 5762d1b11d2a6f5faaaa68431d3b6c66bae142e3 (diff) | |
parent | 76c53ac649e0dd82edd30b02b182d19fd1f4fceb (diff) | |
download | src-fd5e3f3ec6c6248e892c9e7b2f17da3bfe7b6837.tar.gz src-fd5e3f3ec6c6248e892c9e7b2f17da3bfe7b6837.zip |
Notes
Diffstat (limited to 'usr.bin/xohtml')
-rwxr-xr-x | usr.bin/xohtml/xohtml.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.bin/xohtml/xohtml.sh b/usr.bin/xohtml/xohtml.sh index c1e85f7e151d..932993488f3b 100755 --- a/usr.bin/xohtml/xohtml.sh +++ b/usr.bin/xohtml/xohtml.sh @@ -1,5 +1,6 @@ #!/bin/sh # $FreeBSD$ +#!/bin/sh # # Copyright (c) 2014, Juniper Networks, Inc. # All rights reserved. @@ -11,8 +12,10 @@ # BASE=/usr/share/libxo +VERSION=0.8.4 CMD=cat DONE= +WEB=http://juniper.github.io/libxo/${VERSION}/xohtml do_help () { echo "xohtml: wrap libxo-enabled output in HTML" @@ -42,6 +45,11 @@ while [ -z "$DONE" -a ! -z "$1" ]; do shift; exec > "$FILE"; ;; + -w|--web) + shift; + BASE="${WEB}"; + ;; + -*) do_help ;; |