Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!mit-eddie!bloom-beacon!primerd!teapot!milgr From: milgr@teapot.prime.COM (Marc Milgram) Newsgroups: comp.unix.wizards Subject: Re: Hard links vs. Soft links Message-ID: <738@primerd.PRIME.COM> Date: 24 Aug 90 21:07:00 GMT References: <1084.26d2a42b@desire.wright.edu> <13646@ulysses.att.com> <2866@wyse.wyse.com> Sender: news@primerd.PRIME.COM Reply-To: milgr@teapot.prime.COM (Marc Milgram) Distribution: world Lines: 36 In article <2866@wyse.wyse.com>, bob@wyse.wyse.com (Bob McGowen x4312 dept208) writes: |>As for using aliases for this function, only csh and ksh (if you have it) |>would be able to do this. By using links pointing to the one file and |>letting the program determine the function based on the name used to |>call it, sh users can also have this ability. The particular system |>in the original post has this ability. |> |>My system, ls only recognizes the lc alternate name, so I must use |>either aliases or a shell script to get the function. |> |>For sh users, the following has worked for me: |> [code deleted] |> esac |>Bob McGowan (standard disclaimer, these are my own ...) |>Product Support, Wyse Technology, San Jose, CA |>..!uunet!wyse!bob |>bob@wyse.com aliases work in the bourne shell (at least all of the /bin/sh's that I have used. For example: ls() { /bin/ls -CFb $@ } is the same as aliases ls '/bin/ls -CFb \!*' #csh notation This lets me make /bin/sh survivable on strictly SV3.2 systems for me. Marc Milgram milgr@teapot.prime.com