summaryrefslogtreecommitdiff
path: root/bin/ln
AgeCommit message (Collapse)Author
2005-12-02Make usage() and manual match. OK jmc, deraadtChad Loder
2005-04-15check snprintf return value and abort if the concatenated path is tooUwe Stuehler
long instead of using the truncated path. also, use the strerror() database instead of repeating the text here. ok krw@, millert@
2004-12-17sync usageJared Yanovich
manpage: - indent examples - document exit status ok jmc
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-04The custom logic used for determining the basename of source fileNils Nordman
was flawed in that it did not account for trailing slashes. Use basename(3) instead. Fixes invocations where target is a directory and source has a trailing slash (e.g. ln -s /tmp/ .). Ok millert@.
2003-04-13typos;Jason McIntyre
2003-03-12more .LiTheo de Raadt
2002-07-04ansiTheo de Raadt
2002-04-29Typo; Brian PooleTodd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-11Initial patch.Mike Pechkin
When you give command examples in a manual page prefix them with $ command or # command deraadt@ ok
2002-01-24fix the history refsMichael Shalayeff
2002-01-24this both were in v4, before v6Michael Shalayeff
2001-12-21Initial patch for a new mdoc issue.Mike Pechkin
Powered by @mantoya: o) kill extra line in the end of file; o) kill extra space in the end of line; o) replace blank lines with .Pp; millert@ ok
2001-11-13o) start new sentence on a new line;Mike Pechkin
o) don't use .Pp before/after .Ss; o) wrap long lines; o) fix bogus .Xr usage; millert@ ok;
2001-10-04Grammar; also, document the true behaviour of the examples.Paul Janzen
2001-08-23Add a CAVEATS section explaining that a hard link cannot be made to a fileAaron Campbell
flagged immutable or append-only; pjanzen@ ok
2001-08-10Address PR 1993. This rewording has been deemed satisfactory by theHugh Graham
submitter's reportedly pedantic boss.
2001-08-09Actually use the statf function pointer which I missed while hand-patching.Todd C. Miller
Also, don't mention the -h and -n flags for the 2nd usage line since they are no-ops in that case.
2001-08-09Add -h flag to prevent following a symlink to a dir as the dest.Todd C. Miller
Also add -n as an alias for -h for compat with GNU ln. Patch from Phil.Pennock@globnix.org with minor changes by me.
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-10-18Add some rudimentary EXAMPLES sections and standardize the way we displayAaron Campbell
existing EXAMPLES sections.
2000-03-24All man pages should have a DESCRIPTION section. Fix some formatting nitsAaron Campbell
while we're here.
2000-03-23Fix some formatting problems I missed before.Aaron Campbell
1999-09-23Add an EXAMPLES section. Note that symbolic links may refer to non-existentAaron Campbell
files (as pointed out in symlink(2)). Fix some formatting, too.
1999-08-16more precise SYNOPSIS syntaxAaron Campbell
1999-07-09- remove all trailing whitespaceAaron Campbell
* except when it is escaped with a `\' at the end of the line - fix remaining .Nm usage as well - this is from a patch I received from kwesterback@home.com, who has been working on some scripts for fixing formatting errors in mdoc'd man pages Ok, so there could be a cost/benefit debate with this commit, but since I have the patch we might as well commit it...
1999-07-04trash some old leftover macros and replace them with -mdoc macrosAaron Campbell
1999-07-04correct use of .Nm; some other formatting nitsAaron Campbell
1999-06-03use the hyphenated form "command-line" in the case of a compound adjective;Aaron Campbell
pjanzen@
1999-05-23remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonAaron Campbell
is used instead; kwesterback@home.com
1998-12-15always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netAaron Campbell
1998-11-28start killing redundant .Nm macro arguments (mandoc ``remembers'' the first oneAaron Campbell
it's given)
1998-09-14First complete sweep of man pages, bin/. Command/function names previouslyAaron Campbell
(incorrectly) capatilized are fixed. Comma splices, hyphenations, SYNOPSIS cleanups, other miscellaneous typos.
1997-09-21$OpenBSD$Theo de Raadt
1997-01-26We don't follow old 4.4BSD symlink semantics anylonger.Jason Downs
1997-01-22xref manual pages via SEE ALSOkstailey
1996-12-14-Wall'ing.Michael Shalayeff
1996-08-02zap getopt() case of -?, come on, it is the default!Theo de Raadt
1996-06-23update rcsidTheo de Raadt
1996-05-04old 4.4 symlink behaviour no long validTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt