From: srn AT techno DOT com (Steven R. Newcomb) Subject: Re: bash questions 7 Feb 1998 13:41:18 -0800 Message-ID: <199802071649.LAA02809.cygnus.gnu-win32@bruno.techno.com> References: <3 DOT 0 DOT 1 DOT 32 DOT 19980206090744 DOT 0069b668 AT pop DOT mindspring DOT com> To: ehorowitz AT mindspring DOT com Cc: gnu-win32 AT cygnus DOT com > I installed gnu-win32 simply to run some csh scripts that I had on a > Solaris box. In the process of converting this script to bash I have > encountered the following problems... Bash is not the right tool for executing csh scripts. Bash is MUCH more like Bourne shell (sh) than C-Shell. Bash even has a Bourne-shell mode (use the -posix invocation arg, which basically takes away some of the behaviors that only bash offers, but not all of them, unfortunately) but it has no C-Shell mode. Your problems are mostly because your csh scripts are just basically incompatible with Bourne sh, so they're also incompatible with bash. You need a csh, unless you want to rewrite the scripts in a more Bourne-like fashion. Gnu does have a csh interpreter, but I don't know whether it's available under NT. I suspect not; I don't have one, anyway. And csh is kind of lame, compared to bash, which is kind of magnificent. It's awful to switch from csh to bash, but you'll never go back, that's for sure. -Steve -- Steven R. Newcomb, President, TechnoTeacher, Inc. srn AT techno DOT com http://www.techno.com ftp.techno.com voice: +1 972 231 4098 (at ISOGEN: +1 214 953 0004 x137) fax +1 972 994 0087 (at ISOGEN: +1 214 953 3152) 3615 Tanner Lane Richardson, Texas 75082-2618 USA - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".