Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 836 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 836 Bytes

AWK Lab

Run tests

My experiments with AWK.

  • Experiments with JSON
  • nat_sort.awk - Natural sorting
  • CLI
    • parse_cli_0_lib.awk - basic utility to parse CLI " aaa 'bbb cc' 'd\'ee' " -> ["aaa", "bbb cc", "d'ee"]
      • Not shell-compatible, this is why we came up with parse_cli_lib_1.awk
    • parse_cli_1_lib.awk - basic utility to parse CLI " aaa 'bbb cc' $'d\'ee' " -> ["aaa", "bbb cc", "d'ee"]
    • reparse_cli.awk - reparses $0 to make Awk parsing closer to CLI
      • awk -f parse_cli_lib.awk -f reparse_cli.awk
⌂