-- huckleup <[EMAIL PROTECTED]> is rumored to have mumbled on Montag, 20. Januar 2003 2:40 Uhr -0800 regarding [Fink-beginners] ln -h not supported?:

I have some shell scripts that use a -h option to ln. After installing
the fileutils fink package the scripts stopped working complaining that
-h is not a valid option. I checked the newly installed man page for ln
and -h doesn't appear in it, though it does appear in the original man
page as installed with 10.2.

Is the -h option to ln some kind of Apple extension to ln? Is the lack of
support for this option in the FSF version intentional, or is it a bug?
A quick look at the manpages reveals:

Apple

-h If the target_file or target_dir is a symbolic link, do not follow
it. This is most useful with the -f option, to replace a symlink
which may point to a directory.

-n Same as -h, for compatibility with other ln implementations.


fileutils

-n, --no-dereference
treat destination that is a symlink to a directory
as if it were a normal file

So, use -n.
--
Sebastian Hagedorn
Ehrenfeldg�rtel 156, 50823 K�ln, Germany
http://www.spinfo.uni-koeln.de/~hgd/

"Being just contaminates the void" - Robyn Hitchcock


-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to