severity 337474 minor
retitle 337474 coreutils: ln: form with final DIR should be better explained
stop
The example in question may not be useful but it is not incorrect.
Here is a non-pointless use of "ln -s" with a final directory argument.
[EMAIL PROTECTED]:/tmp/w$ mkdir d
[EMAIL PROTECTED]:/tmp/w$ ln -s a/x a/y d
[EMAIL PROTECTED]:/tmp/w$ ls -l d
total 0
lrwxrwxrwx 1 jdthood jdthood 3 2005-12-16 21:39 x -> a/x
lrwxrwxrwx 1 jdthood jdthood 3 2005-12-16 21:39 y -> a/y
I do find this info description wanting:
* If the last argument names an existing directory, `ln' creates a
link to each TARGET file in that directory, using the TARGETs'
names.
It should say something like "... creates for each TARGET a link
in that directory with the base name of the TARGET and pointing to the
TARGET."
--
Thomas Hood
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]