More troff bits; if you want them elsewhere, feel free to repo copy them.
This commit is contained in:
parent
a7eb134e87
commit
aa83d77271
22 changed files with 670 additions and 1 deletions
10
src/cmd/index/see.prep
Normal file
10
src/cmd/index/see.prep
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
awk ' # see.prep
|
||||
# Input: string "\t" string
|
||||
# Output: string "\t{see [also]} " string
|
||||
|
||||
BEGIN { FS = "\t" }
|
||||
$3 ~ /%also/ { print $1 "\t{see also} " $2; next }
|
||||
{ print $1 "\t{see} " $2 }
|
||||
' $*
|
||||
Loading…
Add table
Add a link
Reference in a new issue