summaryrefslogtreecommitdiffstats
path: root/strings.sh
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-06 14:24:49 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-06 14:24:49 +0000
commit7024ee7ca35a8033dee9ec0936cd2f3e0251aca2 (patch)
treed98189a2f8785e0f2217c5b3a2a0a6abe57112d1 /strings.sh
parentbc942b21e65675353944cc575b047c6a80080195 (diff)
downloadmandoc-7024ee7ca35a8033dee9ec0936cd2f3e0251aca2.tar.gz
Documented the strings script.
Diffstat (limited to 'strings.sh')
-rw-r--r--strings.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/strings.sh b/strings.sh
index 3f179c10..47753535 100644
--- a/strings.sh
+++ b/strings.sh
@@ -67,6 +67,9 @@ mdoc_a2${name}(const char *p)
!
while read in ; do
+ [ -z "$in" ] && continue;
+ [ "#" == `echo "$in" | cut -c1` ] && continue;
+
key=`printf "%s\n" "$in" | cut -f 1`
val=`printf "%s\n" "$in" | cut -f 2- | sed 's!^[ ]*!!'`
cat <<!