| Age | Commit message (Collapse) | Author |
|
output. Add comments about what POSIX says regarding stdout.
Also add comments about what POSIX says regarding file mode.
---
|
|
* Recognise "/dev/stdout" as a magic filename, both when embedded in the
data stream and when specified via "-o". This is also required by
POSIX.1-2008.
* Reimplement "-p" as an alias for "-o /dev/stdout".
Thanks to Steffen Daode Nurpmeso for drawing my attention to the problems.
|
|
|
|
|
|
|
|
Tweak to use a consistent format.
|
|
this fixes cross compiling
|
|
Thanks to Matt Fleming for implementing a -m switch (base64 mode) for
both uuencode(1) and uudecode(1)! Man-pages updated as well.
|
|
|
|
|
|
* Rename "config.h" to "nbtool_config.h" and
HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
This makes in more obvious in the source when we're using
tools/compat/config.h versus "standard autoconf" config.h
* Consistently move the inclusion of nbtool_config.h to before
<sys/cdefs.h> so that the former can provide __RCSID() (et al),
and there's no need to protect those macros any more.
These changes should make it easier to "tool-ify" a program by adding:
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
to the top of the source files (for the general case).
|
|
Patches provided by Joel Baker in PR 22365, verified by myself.
|
|
there's no need to special-case .include-ing it.
|
|
|
|
message when we specify nonexisting file as argument, like:
% uudecode hoge
uudecode: hoge
|
|
|
|
|
|
|
|
spacing was bogus, and didn't match other commands' usage strings.
The change really should have been looked at more carefully...
|
|
changed in rev 1.11). The former is the file name on the 'begin' line,
thel atter is the whole 'begin' line. This could never have worked;
it should have been better tested.
Bug pointed out by Andrew Gillham <gillhaa@ghost.whirlpool.com>.
|
|
stdout; based on PR bin/7183 from SUNAGAWA Keiki.
|
|
include <bsd.own.mk> if testing a MKxxx variable.
|
|
John F. Woods <jfw@jfwhome.funhouse.com> in PR 6854.
|
|
|
|
|
|
|
|
|
|
Changed to conform to NetBSD's new RCS Id convention.
|
|
|
|
explicitly declaring function return values, etc. to make gcc -Wall
shut up.
|
|
|
|
|
|
|