Commit Graph

42 Commits

Author SHA1 Message Date
sin
5b5f062184 Add license file details at top of files 2013-10-07 17:03:34 +01:00
sin
b5a511dacf Exit with EXIT_SUCCESS/EXIT_FAILURE instead of 0 and 1
Fixed for consistency purposes.
2013-10-07 16:44:22 +01:00
sin
573d1954b2 Add cryptmain() and factor out the code from the crypt tools 2013-10-05 13:51:45 +01:00
sin
582511d57b Fix some warnings about strcpy() etc. on OpenBSD 2013-10-05 13:50:57 +01:00
sin
9e5718282a Add sha512sum(1) 2013-08-04 11:00:34 -04:00
David Galos
50d9305752 Licensing fix in util/sha256.c 2013-07-20 13:23:13 -04:00
sin
4da54928e7 Add sha256sum(1) 2013-07-20 13:20:16 -04:00
sin
ce124c4894 Do not hardcode the size of md 2013-07-20 00:55:24 -04:00
sin
9ac01f59be Add crypt.[ch] and update md5sum and sha1sum
Factor out the code from md5sum and sha1sum into a util function.

Use FILE * instead of a file descriptor.  This will make it a bit
easier/more consistent when we implement support for the -c option.
2013-07-18 09:51:17 -04:00
David Galos
18712b2032 Converting empty for to while in sha1sum 2013-07-05 17:42:30 -04:00
stateless
eec1b415d5 Add sha1sum
No support for -c at the moment.
2013-07-05 17:31:43 -04:00
stateless
50054a652c Add md5sum
No support for -c at the moment.
2013-07-05 17:29:43 -04:00
Lorenzo Cogotti
75c97de593 Various fixes, add renice command.
This commit adds the renice command and its man page,
it also introduces some fixes:
* Makes nice command more solid, it also makes it respect POSIX return values.
* Fixes estrtol, which produced a misleading error on out of range errors.
* Fixes chgrp.1 NAME section.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-06-14 19:01:04 +02:00
Federico G. Benavento
ae3423e366 pathconf(".", _PC_PATH_MAX) doesn't work from nfs mounted filesystems on BSD systems, use "/" instead. 2013-03-10 17:48:17 -03:00
Christoph Lohmann
f8dc6883a3 Style inquistion for util and some tools. 2013-03-05 21:46:48 +01:00
Robert Ransom
9ea0be3f07 Add missing file (util/getlines.c) 2012-05-22 11:05:07 +00:00
Robert Ransom
572dcc2b83 util/estrtol: Also check for out-of-range values using errno 2012-05-20 12:51:18 +00:00
Connor Lane Smith
fcb8821246 revert to per-cmd usage() 2012-05-15 13:32:56 +01:00
Connor Lane Smith
146cca114e new ARGBEGIN & usage() function 2012-05-14 21:28:41 +01:00
Connor Lane Smith
6e0f5c1409 seq: some cleanup 2012-05-10 19:20:16 +01:00
William Haddon
cec53d14b1 implement cp and mv and improve rm 2012-01-30 22:41:33 +00:00
Connor Lane Smith
4104affcbd path_max not useful 2011-06-25 18:49:32 +01:00
Connor Lane Smith
9658c7cfa7 apathmax fix 2011-06-25 17:33:38 +01:00
Connor Lane Smith
33de3bffdb apathmax 2011-06-25 17:26:44 +01:00
Connor Lane Smith
a051bab859 enmasse: check filename length 2011-06-23 02:08:41 +01:00
Connor Lane Smith
807d45aa80 ln: try link first 2011-06-22 23:45:03 +01:00
Connor Lane Smith
2835d9ecda enmasse same file check 2011-06-22 23:04:56 +01:00
Connor Lane Smith
d7f9bda740 cc -Wextra 2011-06-21 05:05:37 +01:00
Connor Lane Smith
f24772dcbb add nohup 2011-06-18 06:41:28 +01:00
Connor Lane Smith
954106050f rename estrtol 2011-06-10 14:55:01 +01:00
Connor Lane Smith
afb1f0ead0 whoops, add strnum.c 2011-06-10 05:46:20 +01:00
Connor Lane Smith
5156758e21 kill -l 2011-06-10 02:56:13 +01:00
Connor Lane Smith
b5ff71655d recurse: ignore links 2011-06-04 14:30:54 +01:00
Connor Lane Smith
d90ced2047 consistent error check 2011-06-04 12:20:41 +01:00
Connor Lane Smith
210137fba4 fix typo 2011-05-27 00:54:10 +01:00
Connor Lane Smith
bf9626d408 add tail 2011-05-26 16:18:42 -01:00
Connor Lane Smith
217e9bce9c buf -> cwd 2011-05-26 04:17:06 +01:00
Connor Lane Smith
6ef3d9174b add ls; simpler pwd 2011-05-26 04:01:20 +01:00
Connor Lane Smith
273f150c84 fix afgets 2011-05-25 20:45:01 +01:00
Connor Lane Smith
d6a9e35d0b really long lines 2011-05-25 20:40:47 +01:00
Connor Lane Smith
da757ff7d1 add chown 2011-05-25 00:24:33 +01:00
Connor Lane Smith
fbb80983ce add ln, util.a 2011-05-24 13:00:30 +01:00