From 9c5105eeb18ad0be0d04769f6622fed023df58af Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Sun, 22 Nov 2015 06:37:13 -0600 Subject: omit links --- man/update_links.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'man/update_links.sh') diff --git a/man/update_links.sh b/man/update_links.sh index b191cc6..3bccd0c 100755 --- a/man/update_links.sh +++ b/man/update_links.sh @@ -11,7 +11,7 @@ for i in `ls -1 *.3`; do for j in $links; do a=`echo "x$j" | tr '[:upper:]' '[:lower:]'` b=`echo "x$name" | tr '[:upper:]' '[:lower:]'` - if [ $a != $b ]; then + if [[ $a != $b && $a != *""* ]]; then echo $name.3,$j.3 >> links fi done -- cgit v1.2.3-55-g6feb