Based on my answer here with:
On 14.1-RELEASE-p6 (I've cleared every "*awk" from installed packages) I have:
Can you replicate this?
Any idea why isn't /usr/src/contrib/one-true-awk/awk.1 == awk(1) ?
$ pkg query %t-%n | sort | awk -F"-" '{ OFS="-"; $1=strftime("%Y-%m-%d %H:%M:%S", $1); print $0 }'
strftime
in awk(1) is not documented in awk - 14.1R man pageOn 14.1-RELEASE-p6 (I've cleared every "*awk" from installed packages) I have:
Code:
[1] ~ # cat /usr/share/man/man1/awk.1.gz /usr/share/man/man1/nawk.1.gz | grep 'strftime'
[2] ~ # ls -i1 /usr/share/man/man1/awk.1.gz /usr/share/man/man1/nawk.1.gz
32665730 /usr/share/man/man1/awk.1.gz
32665730 /usr/share/man/man1/nawk.1.gz
[3] ~ # cat /usr/src/contrib/one-true-awk/awk.1 | grep 'strftime'
.BI strftime( fmt ", " timestamp\^ )
.IR strftime (3).
[4] ~ # pkg info | grep -i awk
[5] ~ #
Can you replicate this?
Any idea why isn't /usr/src/contrib/one-true-awk/awk.1 == awk(1) ?