Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!uwm.edu!csd4.csd.uwm.edu!jgd From: jgd@csd4.csd.uwm.edu (John G Dobnick) Newsgroups: comp.unix.questions Subject: link (ln) with *one* name? Message-ID: <5698@uwm.edu> Date: 12 Aug 90 05:34:12 GMT Sender: news@uwm.edu Reply-To: jgd@csd4.csd.uwm.edu (John G Dobnick) Distribution: na Organization: U of Wis - Milwaukee, Computing Services Lines: 48 Stupid question time (I haven't asked one of these for a while, so I'm due. :-) ] Re: 4.3 "ln". The manpage says ln(1) can be called with only one name. What purpose does this serve? Given that ln(1) is supposed to create "links", I would think you need a minimum of *two* filenames, no? What am I missing here? Manpage extract: LN(1) UNIX Programmer's Manual LN(1) NAME ln - make links SYNOPSIS ln [ -s ] sourcename [ targetname ] ln [ -s ] sourcename1 sourcename2 [ sourcename3 ... ] targetdirectory DESCRIPTION Given one or two arguments, ln creates a link to an existing file sourcename. If targetname is given, the link has that name; targetname may also be a directory in which to place the link; otherwise it is placed in the current directory. If only the directory is specified, the link will be made to the last component of sourcename. The first line under DESCRIPTION can be read as "Given one argument, _ln_ creates a link to an existing file _sourcename_." Um, excuse me, but *what* link to _sourcename_????? Seems to me you need a minimum of two (2) arguments here to do anything useful. Am I correct in assuming that this is just a case of unclear writing? Or am I missing something obvious? (And if so, what?) Nitpickingly, -- John G Dobnick (JGD2) Computing Services Division @ University of Wisconsin - Milwaukee INTERNET: jgd@csd4.csd.uwm.edu ATTnet: (414) 229-5727 UUCP: uunet!uwm!csd4.csd.uwm.edu!jgd "Knowing how things work is the basis for appreciation, and is thus a source of civilized delight." -- William Safire