Commit Graph

886 Commits

Author SHA1 Message Date
Hiltjo Posthuma
658b5989d3 sponge.1: convert to mandoc 2015-01-31 00:16:25 +01:00
Hiltjo Posthuma
4e7cbbee28 sort.1: convert to mandoc 2015-01-30 23:49:13 +01:00
Hiltjo Posthuma
f2eb5d3b2d readlink.1: convert to mandoc 2015-01-30 23:34:36 +01:00
Hiltjo Posthuma
08904c0308 mktemp.1: convert to mandoc 2015-01-30 23:29:09 +01:00
Hiltjo Posthuma
0ac41ca998 printenv.1: convert to mandoc 2015-01-30 23:25:12 +01:00
Hiltjo Posthuma
073a5726c7 setsid.1: convert to mandoc 2015-01-30 23:10:09 +01:00
Hiltjo Posthuma
1e4fd252be *sum.1: convert to mandoc
... and fix order of sections, add OPTIONS section with a list describing the
flags.
2015-01-30 23:08:25 +01:00
Hiltjo Posthuma
a576a74635 test.1: convert to mandoc and some fixes
- sort flags.
- fix 2 typos.
2015-01-30 22:52:01 +01:00
Hiltjo Posthuma
b3c5b206e7 seq.1: convert to mandoc 2015-01-30 22:39:41 +01:00
Hiltjo Posthuma
1c93b03a85 hostname.1: convert to mandoc 2015-01-30 22:15:57 +01:00
Hiltjo Posthuma
1466021305 du.1: convert to mandoc 2015-01-30 22:13:37 +01:00
Hiltjo Posthuma
987152a7d7 cp.1: convert to mandoc, add mv(1) to SEE ALSO 2015-01-30 22:07:17 +01:00
Hiltjo Posthuma
481ed596ff sync.1: convert to mandoc 2015-01-30 21:56:25 +01:00
Hiltjo Posthuma
9d12daf179 mandoc: convert uname.1, uniq.1 and xargs.1 2015-01-30 21:51:23 +01:00
Hiltjo Posthuma
a7e0f6b4f1 tail.1: fix list 2015-01-30 21:49:32 +01:00
Hiltjo Posthuma
57a19e3b86 add some mandoc pages and fix some warnings
- add .Os, it is mandatory.
- don't redeclare .Nm when it's not needed.
- fix some warnings (checked with mandoc -Tlint).
- remove some leftover old stuff.
2015-01-30 21:21:50 +01:00
sin
8c177d8d83 fold: Be consistent and use size_t 2015-01-30 16:47:36 +00:00
sin
c7f2848a35 seq: Use INT_MIN as opposed to -INT_MAX 2015-01-30 16:47:00 +00:00
sin
b66c44b24e ARGNUMF() only works on base 10 as it uses strtonum underneath 2015-01-30 16:45:44 +00:00
FRIGN
fd562481f3 Convert estrto{l, ul} to estrtonum
Enough with this insanity!
2015-01-30 16:52:44 +01:00
FRIGN
8c359daee3 Convert cal(1) to strtonum 2015-01-30 16:01:37 +01:00
sin
7a0c2669fb Remember to include limits.h for UINT_MAX 2015-01-30 14:02:59 +00:00
sin
48cc842aa9 Use estrtonum in sleep(1) 2015-01-30 14:01:45 +00:00
sin
ab149deebe Use errstr as filled by strtonum() because it is more informative 2015-01-30 13:59:43 +00:00
sin
e5c1f0f372 Add estrtonum() as well 2015-01-30 13:56:45 +00:00
sin
28d9b18e4c Remember to undef strtonum in case it is provided also as a macro 2015-01-30 13:52:24 +00:00
sin
add25a464f Add strtonum() in preparation to nuking estrtol() and friends 2015-01-30 13:48:33 +00:00
sin
e8cb7f5ef0 sleep: Allow sleeping for 136 years 2015-01-30 13:24:55 +00:00
sin
b90ca482a0 Add estrtoul() 2015-01-30 13:24:41 +00:00
sin
e077e0c00a sleep(3) cannot handle ulong so don't fool people 2015-01-30 13:14:22 +00:00
FRIGN
329936053b Add mandoc-manpage for sleep(1) and refactor the code a bit
and mark it as finished in README.
2015-01-30 13:41:36 +01:00
FRIGN
dc7f392339 Add mandoc-manpage for rmdir(1)
and mark it as finished in README.
2015-01-30 13:30:03 +01:00
sin
737d23092a Staticise mv_status 2015-01-30 11:48:33 +00:00
FRIGN
e60885699c Fix return values in rm(1) and mv(1)
by setting rm_status to 1 if removing 1 file in the list fails.
Extend this to mv_status in mv(1).
2015-01-30 12:45:54 +01:00
FRIGN
a9c7d16cde Properly report return value in rmdir(1) 2015-01-30 12:43:55 +01:00
FRIGN
ae0df49f24 Add p-flag to rmdir(1) 2015-01-30 12:21:26 +01:00
FRIGN
97ad252d5d Add mandoc-manpage for rm(1)
and mark it as finished in README.
2015-01-30 11:34:05 +01:00
FRIGN
3728bd9305 Fix niceness-range in nice.1 2015-01-29 23:59:39 +01:00
FRIGN
0d32a8963f Mark renice(1) as finished in README 2015-01-29 23:58:44 +01:00
FRIGN
a0020ca4c0 Add mandoc-manpage for renice(1)
and mark it as finished in README.
2015-01-29 23:58:02 +01:00
FRIGN
38adcf0c08 Fix tabs in libutil/unescape.c 2015-01-29 21:59:27 +01:00
FRIGN
b8b9d983c8 Add unescape() to libutil
formerly known as resolveescapes(), it is of central use to numerous
programs.
This drops a lot of LOC.
2015-01-29 21:52:44 +01:00
FRIGN
d4e2067d3d Add mandoc-manpage for paste(1)
and mark it as finished in README.
2015-01-29 21:26:09 +01:00
FRIGN
cdbc0d5035 Add UTF8-support to paste(1) and refactor parallel()
Hopefully it now is clearer what the heck is going on.
2015-01-29 20:15:50 +01:00
FRIGN
7b6d918b78 Add mandoc-manpage for nohup(1)
and mark it as finished in README.
2015-01-28 23:55:57 +01:00
FRIGN
20b5d7c0d4 Add mandoc-manpage for nice(1)
and mark it as finished in README.
2015-01-28 22:40:40 +01:00
FRIGN
2733fc7249 Rectify order of cases 2015-01-28 22:11:50 +01:00
FRIGN
7437901098 Add mandoc-manpage for mv(1)
and mark it as finished in README.
Make it clear that -i has not been implemented yet and drop the
flag in the code instead of erroring out.
2015-01-28 22:06:50 +01:00
FRIGN
409db4e5d7 Add additional info to mkdir(1), mkfifo(1) and chmod(1)-manpages 2015-01-28 21:15:55 +01:00
FRIGN
9119365c91 Add full mode support to mkdir(1) and fix return values
Same as with mkfifo(1). Also, somehow the return-values were
ignored and it would always return 0 no matter how many errors
happened.
2015-01-28 20:57:32 +01:00