codata - libray for fundamental physical constants
codata [OPTION]...
codata is a command line interface which prints all the CODATA constants.
The current values are from 2022. Older values can be retrieved if needed and the output can be filtered with REGEX PATTERNS.
--year, -y YEAR
CODATA constants: 2022, 2018, 2014, 2010
--pattern, -p PATTERN
Regex pattern for filtering the constants.
--value, -a
Show only the value.
--error, -e
Show only the uncertainty.
--usage
Show usage text and exit.
--version, -v
Show version information and exit.
--help, -h
Show help text and exit.
You may replace the default options from a file if your first options begin with @file. Initial options will then be read from the "response file" "file.rsp" in the current directory.
If "file" does not exist or cannot be read, then an error occurs and the program stops. Each line of the file is prefixed with "options" and interpreted as a separate argument. The file itself may not contain @file arguments. That is, it is not processed recursively.
For more information on response files see https://urbanjost.github.io/M_CLI2/set_args.3m_cli2.html
Minimal example
codata
codata -p Faraday
codata -y 2014 -p molar.*gas,electron.*eV
codata [B,b]oltzmann.*eV
codata(3), codata_cli(1), codata_version(3), codata_constant_type(3)