From 86bbee3264360de8ab5f8d2b277ac7d1045d0b80 Mon Sep 17 00:00:00 2001
From: johannst %N.Mf
, N
is the total number in
M
.
sprintf("fmt", expr, ...)
Format the expressions according to the format string. Similar as printf
,
+but this is a function and return value can be assigned to a variable.
strftime("fmt")
Print time stamp formatted by fmt
.
echo 'a b c d e f' | awk '{ print $NF $(NF-1) }'
-Access last fields with arithmetic on the NR
number of fields variable.
Access last fields with arithmetic on the NF
number of fields variable.
# /proc/<pid>/status
# Name: cat
--
cgit v1.2.3