aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/xohtml
diff options
context:
space:
mode:
authorPhil Shafer <phil@FreeBSD.org>2017-08-03 15:47:42 +0000
committerPhil Shafer <phil@FreeBSD.org>2017-08-03 15:47:42 +0000
commitfd5e3f3ec6c6248e892c9e7b2f17da3bfe7b6837 (patch)
treeabb95fd2932530e897254fcba8741923253fb6ce /usr.bin/xohtml
parent5762d1b11d2a6f5faaaa68431d3b6c66bae142e3 (diff)
parent76c53ac649e0dd82edd30b02b182d19fd1f4fceb (diff)
downloadsrc-fd5e3f3ec6c6248e892c9e7b2f17da3bfe7b6837.tar.gz
src-fd5e3f3ec6c6248e892c9e7b2f17da3bfe7b6837.zip
Notes
Diffstat (limited to 'usr.bin/xohtml')
-rwxr-xr-xusr.bin/xohtml/xohtml.sh8
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
;;