Re: Switching from tcsh to bash as an interactive shell
From: Chris F.A. Johnson (cfajohnson_at_gmail.com)
Date: 09/17/04
- Next message: P.T. Breuer: "Re: Switching from tcsh to bash as an interactive shell"
- Previous message: ANTant_at_zimage.com: "Any known issues with an Asus K8V SE Deluxe?"
- In reply to: P.T. Breuer: "Re: Switching from tcsh to bash as an interactive shell"
- Next in thread: P.T. Breuer: "Re: Switching from tcsh to bash as an interactive shell"
- Reply: P.T. Breuer: "Re: Switching from tcsh to bash as an interactive shell"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 17 Sep 2004 09:53:37 GMT
["Followup-To:" header set to comp.unix.shell.]
On 2004-09-17, P.T. Breuer wrote:
> Tristan Miller <psychonaut@nothingisreal.com> wrote:
>> Yes there is, and I stated it in my original post. Because I do my
>> scripting in bash, I find myself constantly typing things like "for f in
>> *; do foo; done" at the command line. Needless to say this is incorrect
>
> One doesn't type programs on the command line
Once certainly does.
It is one of the great advantages of a Bourne-type shell that one
can type a multiple line command at the prompt, without having to
go through the process of committing it to a script.
It is extremely convenient for testing a structure before putting
it in a script.
It is indispensible for commands that are one-offs.
> - leave programming to a script. Use tcsh for your interactive use
> (it's far more comfortable than sh), and program in sh.
While tcsh is more comfortable than a Bourne shell in some
respects (but not enough to compensate for the lack of multi-line
commands), it has nothing over bash.
--
Chris F.A. Johnson http://cfaj.freeshell.org/shell
===================================================================
My code (if any) in this post is copyright 2004, Chris F.A. Johnson
and may be copied under the terms of the GNU General Public License
- Next message: P.T. Breuer: "Re: Switching from tcsh to bash as an interactive shell"
- Previous message: ANTant_at_zimage.com: "Any known issues with an Asus K8V SE Deluxe?"
- In reply to: P.T. Breuer: "Re: Switching from tcsh to bash as an interactive shell"
- Next in thread: P.T. Breuer: "Re: Switching from tcsh to bash as an interactive shell"
- Reply: P.T. Breuer: "Re: Switching from tcsh to bash as an interactive shell"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|