A tool for handling simple data-reformatting jobs. See documentation
- The Core Planners: chef-core-planners@chef.io
Binary package
Binary packages can be set as runtime or build time dependencies. See Defining your dependencies for more information.
To add core/gawk as a dependency, you can add one of the following to your plan file.
pkg_build_deps=(core/gawk)
pkg_deps=(core/gawk)
To install this plan, you should run the following commands to first install, and then link the binaries this plan creates.
hab pkg install core/gawk --binlink
will add the following binaries to the PATH:
- /bin/awk
- /bin/gawk
You can now use the binary as normal. For example:
/bin/gawk --help
or gawk --help
$ gawk --help
Usage: gawk [POSIX or GNU style options] -f progfile [--] file ...
Usage: gawk [POSIX or GNU style options] [--] 'program' file ...
POSIX options: GNU long options: (standard)
-f progfile --file=progfile
-F fs --field-separator=fs
-v var=val --assign=var=val
Short options: GNU long options: (extensions)
-b --characters-as-bytes
-c --traditional
-C --copyright
...
...