Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!caen!ox.com!emv From: fischer@iesd.auc.dk (Lars P. Fischer) Newsgroups: comp.archives Subject: [comp.unix.shell] Re: Questions concerning BaSH Message-ID: <1991Jan9.014821.11354@ox.com> Date: 9 Jan 91 01:48:21 GMT References: <71792@bu.edu.bu.edu> Sender: emv@ox.com (Edward Vielmetti) Reply-To: fischer@iesd.auc.dk (Lars P. Fischer) Followup-To: comp.unix.shell Organization: Mathematics and Computer Science, University of Aalborg Lines: 39 Approved: emv@ox.com (Edward Vielmetti) X-Original-Newsgroups: comp.unix.shell Archive-name: unix/shell/bash/1991-01-08 Archive: prep.ai.mit.edu:/pub/gnu/bash-1.05*.tar.Z [18.71.0.38] Original-posting-by: fischer@iesd.auc.dk (Lars P. Fischer) Original-subject: Re: Questions concerning BaSH Reposted-by: emv@ox.com (Edward Vielmetti) >>>>> On 8 Jan 91 15:47:46 GMT, jc@bu-pub.bu.edu (James Cameron) said: James> I have seen a few references to Bash. I was just curious as to where James> I can get it, and what are the pros cons in comparison to tsch. The Bourne Again SHell is available from prep.ai.mit.edu and several other places. Compared to tcsh: - bash i sh syntax, which is much nicer and what you use for scripts anyway. Being able to pipe output from a loop i a must. - bash has a more powerful command line editor, ie. you can search for a line containing any string, etc. - the command line editor used in bash is available as a library for use in other programs. If you change the key bindings, it takes effect in *all* programs that use the command line editor. I like this a lot for use in gdb etc. - command line editing lets you retrieve individual lines from a loop, say. Being able to get the first line only is a true tcsh brain damage. - You get the src to hack. - The price is right :-) Overall, it's a matter of preference: sh or csh. I used to be a csh user, but nowadays I much prefer sh. Try it. /Lars -- Lars Fischer, fischer@iesd.auc.dk | Q: How does a project get to be one CS Dept., Univ. of Aalborg, DENMARK. | year late? A: One day at a time.