Re: tsch and csch
Re: tsch and csch
- Subject: Re: tsch and csch
- From: Doug McNutt <email@hidden>
- Date: Sun, 7 Dec 2003 18:21:13 -0700
At 13:32 -0800 12/7/03, Justin Walker wrote:
>I'm not sure what you mean by a vanilla version,. It's possible (I have not checked the source) that the two shells are sufficiently close that they are compiled from the same source, and use the name by which they are invoked to determine which behavior to provide to the user.
I should have been more specific:
Jaguar 10.8.2
cd /bin
ls -li *sh
806544 -rwxr-xr-x 1 root wheel 540884 Sep 22 16:08 bash
806564 -r-xr-xr-x 1 root wheel 315136 Sep 22 16:08 csh
806531 -r-xr-xr-x 1 root wheel 540884 Sep 22 16:08 sh
806552 -r-xr-xr-x 1 root wheel 315136 Sep 22 16:08 tcsh
806537 -rwxr-xr-x 1 root wheel 828780 Sep 22 16:08 zsh
Note that the csh and tcsh shells have identical length and date. Note the same thing for bash and sh
Note also that they do seem to have different inodes which means that there is not some hard link involved. That's different from what I said.
My conclusion is that Apple, not me, has decided that we shouldn't be using what I call the vanilla versions of sh and csh. bash and tcsh are what we get unless we go elsewhere to get something else.
Why there are copies on the disk rather than hard links is curious. I did download source code for tcsh from Debian but I haven't done anything but look at it.
What I really want is my old familiar MPW shell tuned up for Darwin.
--
--> There are 10 kinds of people: those who understand binary, and those who don't <--
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.