From e7c3e90b700ff86218d17c25e72ed42c8c3c5306 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 18 Nov 1997 06:13:58 +0000 Subject: Fix misplace '>' vs. '>>'; John.P.Darrow@wheaton.edu --- libexec/makewhatis/makewhatis.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libexec/makewhatis/makewhatis.sh') diff --git a/libexec/makewhatis/makewhatis.sh b/libexec/makewhatis/makewhatis.sh index 814f6117495..e8cda8d8232 100644 --- a/libexec/makewhatis/makewhatis.sh +++ b/libexec/makewhatis/makewhatis.sh @@ -6,7 +6,7 @@ # # Public domain. # -# $OpenBSD: makewhatis.sh,v 1.5 1997/11/13 04:40:15 millert Exp $ +# $OpenBSD: makewhatis.sh,v 1.6 1997/11/18 06:13:57 millert Exp $ # PATH=/usr/bin:/bin; export PATH @@ -30,12 +30,12 @@ find $MANDIR \( -type f -o -type l \) -name '*.[0-9]*' -ls | \ sort -n | awk '{if (u[$1]) next; u[$1]++ ; print $11}' > $LIST egrep '\.[1-9]$' $LIST | xargs /usr/libexec/getNAME | \ - sed -e 's/ [a-zA-Z0-9]* \\-/ -/' >> $WHATIS + sed -e 's/ [a-zA-Z0-9]* \\-/ -/' > $WHATIS egrep '\.0$' $LIST | while read file do sed -n -f /usr/share/man/makewhatis.sed $file; -done > $WHATIS +done >> $WHATIS egrep '\.[0].(gz|Z)$' $LIST | while read file do -- cgit v1.2.3