Commit Graph

5 Commits

Author SHA1 Message Date
FRIGN 0545d32ce9 Handle '-' consistently
In general, POSIX does not define /dev/std{in, out, err} because it
does not want to depend on the dev-filesystem.
For utilities, it thus introduced the '-'-keyword to denote standard
input (and output in some cases) and the programs have to deal with
it accordingly.

Sadly, the design of many tools doesn't allow strict shell-redirections
and many scripts don't even use this feature when possible.

Thus, we made the decision to implement it consistently across all
tools where it makes sense (namely those which read files).

Along the way, I spotted some behavioural bugs in libutil/crypt.c and
others where it was forgotten to fshut the files after use.
2015-05-16 13:34:00 +01:00
Wolfgang Corcoran-Mathe 00883efc16 join: fix typo 2015-05-09 20:29:52 +01:00
Wolfgang Corcoran-Mathe dcfa94cdbd join: Add LICENSE header 2015-05-05 10:53:41 +01:00
Hiltjo Posthuma e34bcca3e3 join: remove argv0, it is in arg.h 2015-04-27 16:58:42 +01:00
Wolfgang Corcoran-Mathe cd0b771cbb Add join(1) 2015-04-20 11:24:12 +01:00