Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pforret/awk-boilerplate

A template script for larger AWK/GAWK projects
https://github.com/pforret/awk-boilerplate

awk awk-command awk-script boilerplate gawk script

Last synced: 23 days ago
JSON representation

A template script for larger AWK/GAWK projects

Awesome Lists containing this project

README

        

# awk-boilerplate
![AWK CI](https://github.com/pforret/awk-boilerplate/workflows/AWK%20CI/badge.svg)

A starting point for larger AWK scripts

Features:

* define required/optional parameters
* show usage when input is empty

script.awk v1.0.0 - by [email protected]

Purpose: Read data file 1 and filter it into data file 2
Usage : script.awk -v =
Options:
-v input= (default: )
-v output= (default: )
-v steps= (default: 10)
-v verbose= (default: 0)
-v silent= (default: 0)

* functions for output: `out()` / `debug()` / `progress()`