Juli Mallett
28130e4305
Synch usage() and manpage for b64encode/b64decode.
...
Make uudecode's usage more like that of other programs.
2002-05-19 11:22:54 +00:00
Juli Mallett
09bf07df21
Add b64decode & b64encode as synonyms for uudecode and uuencode -m,
...
respectively, for convenience when encoding or decoding base64 files.
As requested by various users.
2002-05-19 11:17:17 +00:00
Juli Mallett
4eb254c143
Group the output chunks differently, to try to match BSD/OS output. Switch
...
to using arithmatic to determine buffer sizes to encode into.
Diane Bruce pointed out to me that BSD/OS did MIME too, so I want to match
their output, too, since my decision of 8 output groups was wholly arbitrary.
2002-05-17 12:27:02 +00:00
Mike Barcroft
b2c80b69eb
Finish converting the rest of the function declaration and prototypes
...
to ANSI C. Use new source ID scheme.
2002-05-12 03:56:34 +00:00
Alfred Perlstein
3a9818f926
unbreak build:
...
K&R style main() makes gcc emit a warning about missing prototypes so
switch to ANSI.
2002-05-11 03:29:04 +00:00
Warner Losh
3f330d7d1a
remove __P
2002-03-22 01:42:45 +00:00
Mike Barcroft
68ed097b75
Initialize `output' in a more proper location.
...
Submitted by: roam
2002-03-05 10:58:06 +00:00
Juli Mallett
0e01f18b86
Add base64 support to uuencode(1) and uudecode(1), as specified by SUSv3.
...
Add `-o' option to uuencode(1) to pipe the uuencoded output to an
arbitrary file, instead of just stdout.
Reviewed by: -standards, mike
Approved by: mike
2002-03-05 03:27:47 +00:00
Ruslan Ermilov
66e062451e
Pad input with null characters if it is not a multiple of 3.
...
PR: bin/31156
MFC after: 1 week
2001-10-09 11:05:27 +00:00
Dima Dorfman
7a19d1bbb9
Include missing header files which define functions for which gcc has
...
builtins (e.g., exit, strcmp).
2001-06-24 19:50:42 +00:00
Dima Dorfman
7d6d31cb79
Satisfy gcc's parenthetical needs and clamp down with WANRS=2.
...
Reviewed by: md5(1)
2001-06-17 06:22:30 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Philippe Charnier
f296f8ebb4
Use err(3).
1997-08-22 06:53:00 +00:00
Warner Losh
1c8af87873
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00