awk, gawk: fix command syntax (#20911)

This commit is contained in:
Fazle Arefin
2026-01-27 19:56:37 +11:00
committed by GitHub
parent 76fc7a1d01
commit 887892a446
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -31,7 +31,7 @@
- Print all the lines which the 10th column value is between a min and a max:
`awk '($10 >= {{min_value}} && $10 <= {{max_value}})'`
`awk '($10 >= {{min_value}} && $10 <= {{max_value}})' {{path/to/file}}`
- Print table of users with UID >=1000 with header and formatted output, using colon as separator (`%-20s` mean: 20 left-align string characters, `%6s` means: 6 right-align string characters):
+1 -1
View File
@@ -30,7 +30,7 @@
- Print all the lines which the 10th column value is between a min and a max:
`gawk '($10 >= {{min_value}} && $10 <= {{max_value}})'`
`gawk '($10 >= {{min_value}} && $10 <= {{max_value}})' {{path/to/file}}`
- Print table of users with UID >=1000 with header and formatted output, using colon as separator (`%-20s` mean: 20 left-align string characters, `%6s` means: 6 right-align string characters):