mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-15 11:20:03 +00:00
10 lines
216 B
Bash
10 lines
216 B
Bash
#!/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 }
|
|
' $*
|