|
|
researchv10 Dan Cross
awk '
/^[0-9][0-9]*/ {
if(start)print cmd
number=$1
sub(/^[0-9][0-9]* /,"")
laststr=$0
cmd = number "i\\\n.Tm " $0
start=1
next
}
/.*/ {
if($0 != laststr){
cmd = cmd "\\\n.Tm " $0
laststr=$0
}
}
END {print cmd}
' $1
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.