mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2024-11-28 07:23:07 +01:00
16 lines
151 B
Awk
16 lines
151 B
Awk
|
#!/usr/bin/gawk -f
|
||
|
|
||
|
@include "inplace"
|
||
|
|
||
|
BEGIN {
|
||
|
FS = " "
|
||
|
}
|
||
|
|
||
|
/^\.TH / {
|
||
|
cmd = "date +%Y-%m-%d"
|
||
|
cmd | getline $4
|
||
|
close(cmd)
|
||
|
}
|
||
|
|
||
|
{ print }
|