minor, remove test for number of arguments in main code, print command allows 0 nargs

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
minor, check for getline() alternative fgetln()

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
chore, turn on netbsd and aix special capabilities

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
minor, use getline() if available (preferred) or fgetln() if available

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
fix, PEBKAC, make caev counter static so multiple calls to ctl_read_caev_file() will pile up

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
minor, turn off summing in ctl_read_caev_file(), ...

summing would break if multiple files in non-sorted date order
would be read.

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
minor, follow-up, do the summing on the spot in ctl_appl_caev_file() using ctl_caev_sum()

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
Merge branch 'code/hygiene'

* code/hygiene:
  minor, follow-up, do the summing on the spot in ctl_appl_caev_file() using ctl_caev_sum()
  minor, turn off summing in ctl_read_caev_file(), ...
  fix, PEBKAC, make caev counter static so multiple calls to ctl_read_caev_file() will pile up
  minor, use getline() if available (preferred) or fgetln() if available
  chore, turn on netbsd and aix special capabilities
  minor, check for getline() alternative fgetln()
  minor, remove test for number of arguments in main code, print command allows 0 nargs
chore, bind version information in cattle binary instead of libcattle

This will save a lot of relinking when running the tests because
nearly all check_PROGRAMS need libcattle.la

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
Merge branch 'bld/dist'

* bld/dist:
  chore, bind version information in cattle binary instead of libcattle