summaryrefslogtreecommitdiff
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-test-fd5e3f3ec6c6248e892c9e7b2f17da3bfe7b6837.tar.gz
src-test-fd5e3f3ec6c6248e892c9e7b2f17da3bfe7b6837.zip
Update from libxo-0.8.1 to 0.8.4:
0.8.4: - void anchor width optimization when we have a custom formatter (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221130) - make "{[:/18}" do the right thing (also allows "{[:/%s}", wide ? 40 : 10) - Can't skip anchor formatting in non-display styles - add test case for {[:/18} - add upload-xohtml-files to 'make upload' 0.8.3: - xohtml: Add "-w" option to pull support files from gh_pages - Add "upload-xohtml-files" target to publish support files in gh_pages/ - add HISTORY/AUTHORS section to man pages 0.8.2: - xohtml: Add div.units as standard CSS text - Don't treat values as format strings; they are not - add "-p" to "mkdir -p build" in setup.sh - add test case for {U:%%} (from df.c) - detect end-of-string in '%' and '' escaping - make xo_simple_field, for common simple cases - xohtml: nuke "n" in "echo" commands - rename "format" to "fmt" for consistency; same for "str" to "value" Submitted by: phil
Notes
Notes: svn path=/head/; revision=322019
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 c1e85f7e151d4..932993488f3bf 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
;;