summaryrefslogtreecommitdiff
path: root/src/lib/librelib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/librelib')
-rwxr-xr-xsrc/lib/librelib2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/librelib b/src/lib/librelib
index 63d9a26..3348c7c 100755
--- a/src/lib/librelib
+++ b/src/lib/librelib
@@ -35,12 +35,10 @@ print() {
}
_html_whitespace_collapse() {
- [[ $# == 0 ]] || panic
tr '\n' ' ' | sed -r -e 's/\t/ /g' -e 's/ +/ /g'
}
prose() {
- [[ $# -ge 1 ]] || panic
local mesg="$(_ "$(_html_whitespace_collapse <<<"$1")")"; shift
printf -- "$mesg" "$@" | fmt -u
}