Sync usage with man page.
[netbsd-mini2440.git] / usr.bin / nvi / docs / USD.doc / vi.ref / merge.awk
blob17df37eb2a147bc684a7b7be7229ea96ccb07d19
1 # $NetBSD: merge.awk,v 1.2 2001/03/31 11:37:48 aymeric Exp $
3 # @(#)merge.awk 8.3 (Berkeley) 5/25/94
5 # merge index entries into one line per label
6 $1 == prev {
7 printf ", %s", $2;
8 next;
11 if (NR != 1)
12 printf "\n";
13 printf "%s \t%s", $1, $2;
14 prev = $1;
16 END {
17 printf "\n"