awk

  1. E

    awk strftime undocumented - one-true-awk/awk.1 vs awk(1)

    Based on my answer here with: $ pkg query %t-%n | sort | awk -F"-" '{ OFS="-"; $1=strftime("%Y-%m-%d %H:%M:%S", $1); print $0 }' strftime in awk is not documented in awk - 14.1R man page On 14.1-RELEASE-p6 (I've cleared every "*awk" from installed packages) I have: [1] ~ # cat...
  2. M

    Other BSD awk regexp atoms with {n,m} bounds

    I notice that FreeBSD's (and OpenBSD's) awk treats a repetition qualifier like "{2,4}" in a regular expression as a literal string instead of as it's documented in the manual pages. Below are some examples. The FreeBSD awk manual refers to grep to define the regular expressions it supports...
Back
Top