Re: X11 article, for review (take 2)
Re: X11 article, for review (take 2)
On Mon, Mar 31, 2003 at 09:42:55AM -0700, Doug McNutt wrote:
> At 08:44 -0500 3/31/03, Steve Lidie wrote:
> xinitrc seems to REQUIRE a B type shell. It's the first example I have seem in my short life with BSD.
No, it doesn't. Your .xinitrc can be anything you like (you could even
make it a perl script) as long as the #! line at the beginning was
correct.
Having said that, bourne shells are the shells of choice for writing
scripts. tcsh is nice as an interactive shell, with some exceptions
like this fun bug:
non_existent_program &
oops. Your shell exited.
But for shell scripting, csh's list of bugs and design flaws really
start to get serious. There's a reason the majority of scripts in /etc
are written in /bin/sh! For more details, see the now classic article:
http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/
> Does anyone know how to do the equivalent of exec in tcsh? (I know I could leave the shell running but it's an academic question I'm asking.)
Er - tcsh does have an exec builtin. What's the problem?
Tim
--
Dr Tim Cutts
Informatics Systems Group
Wellcome Trust Sanger Institute, Hinxton, Cambridge, CB10 1SA, UK
_______________________________________________
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.