sin
87cde4bcb2
Print the available targets for sbase-box
2013-10-05 13:51:45 +01:00
sin
83c2c3d1f5
Add 'not implemented' errors for unimplemented flags
...
These used to live in TODO but we got rid off them. Make sure
we keep track of what we want to support by printing a message
when those flags are unimplemented.
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
7d4d519a51
Fix segfault in tail(1)
...
We should not be looking at optarg, that's uninitialized. We
are not using getopt.
2013-09-29 16:58:19 +01:00
David Galos
fd262561a9
Cleaning up who, adding -l and manpage
2013-08-04 19:56:34 -04:00
sin
eddb6d39a5
Ignore tilde in ut_line
2013-08-04 19:28:25 -04:00
sin
918269e057
No need to cast to (char *)
2013-08-04 19:28:12 -04:00
sin
d59c8eea36
Implement -m for who
2013-08-04 19:27:49 -04:00
sin
9e5718282a
Add sha512sum(1)
2013-08-04 11:00:34 -04:00
David Galos
b5b7db4009
tar: Check inode AND dev before ignoring a file. Thanks, Lars Lindqvist!
2013-07-28 12:12:03 -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
Roberto E. Vargas Caballero
f636ac791b
Avoid infinite loop in tar
...
When the tar file is written in one directory archived by tar
the function archive enters in an infinite loop due to de
tar file written. This patch avoid this case checking the
inode of the tar file before of adding it to the archive.
2013-07-20 13:18:39 -04:00
sin
c1730c78de
Use int instead of char for getc()
2013-07-20 11:35:56 -04:00
David Galos
439489b566
Updating TODO
2013-07-20 11:35:21 -04:00
sin
8429125336
Change contact info
2013-07-20 01:30:44 -04:00
David Galos
9f8deb4b23
Tar compiles on BSD, thanks Roberto E. Vargas Caballero. Also remove tons of trailing whitespace.
2013-07-20 01:27:42 -04:00
sin
43c4213631
Remove trailing whitespace
2013-07-20 00:56:04 -04:00
sin
ce124c4894
Do not hardcode the size of md
2013-07-20 00:55:24 -04:00
sin
af4af8a0d8
Change sprintf to snprintf
...
cal.c:40: warning: sprintf() is often misused, please use snprintf()
2013-07-20 00:54:49 -04:00
David Galos
0fcb939408
Compatibility with OpenBSD. Thanks, Steve Dee!
2013-07-18 15:28:08 -04:00
David Galos
cd1526715f
Opimizing tar, adding U flag
2013-07-18 15:14:53 -04:00
David Galos
c5f10c4b06
Fixing idiotic mistake in tar
2013-07-18 11:52:01 -04:00
David Galos
2c75eb98d9
Adding tar.
2013-07-18 11:15:35 -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
48e6870bb7
Making mkdir -p
handle empty paths. Thanks, Willem van de Krol!
2013-07-11 21:43:38 -04:00
David Galos
7adf4f380a
Fixing zero-bye append in readlink. Thanks, Willem van de Krol
2013-07-09 19:40:28 -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
David Galos
3c5f2b2407
Simplyfing mknod. Good eye, Truls Becken.
2013-07-03 11:48:06 -04:00
David Galos
1fbe4e95ed
Adding mknod(1)
2013-07-03 02:02:36 -04:00
stateless
c1c367c1bd
Explicitly cast len to unsigned long for %lu
2013-07-02 14:09:36 -04:00
David Galos
60731fb6e8
actually add the .c and .1 files
2013-07-02 13:26:24 -04:00
David Galos
eadefcf0f8
Adding sponge(1). Thanks, Jakob Kramer.
2013-07-02 13:24:35 -04:00
David Galos
4c403d80c7
Removing the executable bit from 'chvt.c'
2013-07-02 12:07:12 -04:00
David Galos
563742500e
Fixing seq
2013-07-01 13:25:41 -04:00
Christoph Lohmann
c94fad2ccc
Who is in sbase.
2013-06-21 07:11:44 +02:00
Christoph Lohmann
82e266e880
Cal is now in sbase.
2013-06-21 07:10:54 +02:00
Christoph Lohmann
45f67c556b
Another correction for the cal(1) usage.
2013-06-19 23:24:34 +02:00
Jesse Ogle
6442071c29
Updated cal usage()
...
Now usage matches cal.1
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-06-19 23:23:59 +02:00
Jesse Ogle
8fc4858a3c
Bugfix for cal when columns specified as 0
...
cal -c 0 caused an infinite loop. now the number of columns is set to
the number of months when 0 (i.e. the calendars never wrap).
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-06-19 23:23:43 +02:00
Christoph Lohmann
b10b1da57d
Make date(1) compatible to GNU date(1).
...
We have variable first day of weeks now! My week starts on Wednesday!
2013-06-19 22:10:26 +02:00
Jesse Ogle
0f523ec9c6
Added cal and updated Makefile
...
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-06-19 21:13:28 +02:00
Christoph Lohmann
7f88cf7021
Optimizing comm(1) with the second sent in patch.
2013-06-19 21:09:50 +02:00
stateless
e28c17c7cc
Add expand(1)
...
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-06-19 20:01:10 +02:00
stateless
12116cccc4
Add comm
...
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-06-19 20:00:10 +02:00
stateless
7216a53a7e
Remove unnecessary exit(1) in usage()
...
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-06-19 19:58:19 +02:00
stateless
f66b47bc6f
Add readlink
...
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-06-16 07:46:01 +02:00
Christoph Lohmann
4d38f60685
Eliminating the getopt disgrace.
2013-06-14 20:20:47 +02:00