Commit Graph

14 Commits

Author SHA1 Message Date
FRIGN 57dc7b94b0 POSIX 2013 audit
Mostly manpage-shuffling according to the changes in the corrigendum,
wording changes and more idiomatic expressions.
All this is finished up by marking the POSIX 2013 conformant tools
with
.St -p1003.1-2013
which is not available in older mandoc builds or nroff, but which
reflects what we actually did, so who cares?

This is a huge step and it's not far until we can release sbase 0.1.
2015-03-27 17:25:22 +01:00
FRIGN ab26b5583e Audit ln(1)
1) Clarify behaviour when the f-flag is given and a target is in its
   own way.
2) Fix usage()-style.
3) Group local variable declarations.
4) reorder args
5) argc style, other boolean style changes
6) improve error messages
7) set argv[argc - 1] to NULL to allow argv-centric loop later
8) BUGFIX: POSIX specifies that when with the f-flag there's a
   situation where a file stands in its own way for linking it
   should be ignored.
9) Add weprintf() where possible, so we don't pussy out when there's
   a small issue. This is sbase ffs!
2015-03-05 21:14:43 +01:00
sin 0934e7f6ed Add .Os sbase and sed replace to .Os sbase $(VERSION) in make install 2015-01-31 19:37:03 +00:00
Hiltjo Posthuma f769c2402f fix mandoc warnings
- sort references in SEE ALSO section to section number, name.
- cols.1: proper order of sections.
- wrap lines to max 79 column length.
2015-01-31 14:43:27 +01:00
Hiltjo Posthuma 4a920a5960 remove sbase-VERSION from man page, fix sponge.1 date 2015-01-31 14:20:02 +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
FRIGN 00e7f4e38a Add mandoc-manpage for ln(1)
and mark it as finished in the README.
2015-01-26 14:54:22 +01:00
Michael Forney 94ef670b27 ln: Add support for target directories
Also, now that we are using {sym,}linkat, implement the trivial -L and
-P options.
2014-11-23 20:58:15 +00:00
Connor Lane Smith e565522068 ln -f 2011-06-04 02:56:18 +01:00
Connor Lane Smith 3172b979dc pwd -LP 2011-05-28 15:37:42 +01:00
Connor Lane Smith 6c7f288bd8 separate dirs 2011-05-26 05:03:37 +01:00
Connor Lane Smith 47308190b3 update manpages 2011-05-25 18:29:46 +01:00
Connor Lane Smith a9c970b973 add mkfifo 2011-05-25 11:00:15 +01:00
Connor Lane Smith fbb80983ce add ln, util.a 2011-05-24 13:00:30 +01:00