Skip to content

pforret/awk-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

awk-boilerplate

AWK CI

A starting point for larger AWK scripts

Features:

  • define required/optional parameters

  • show usage when input is empty

      script.awk v1.0.0 - by peter@forret.com
      <https://github.com/pforret/awk-boilerplate>
      Purpose: Read data file 1 and filter it into data file 2
      Usage  : script.awk -v <option>=<value>
      Options:
      	-v input=<source file> (default: )
      	-v output=<result file> (default: )
      	-v steps=<number of steps> (default: 10)
      	-v verbose=<more information on stderr> (default: 0)
      	-v silent=<no information on stderr> (default: 0)
    
  • functions for output: out() / debug() / progress()

Releases

No releases published

Packages

No packages published

Languages