Re: Portable shell scripts
On Wed, Nov 12, 2003 at 09:24:04AM +0800, csj wrote:
> I tend to write scripts which are tcsh-compatible. So
Wow. You're mad. Sorry :) The C shell is too broken for serious
> But its somewhat a waste of effort to write one set of scripts for
> bash and another for tcsh.
I don't understand. Why would you need to write two sets of scripts?
> My main problem is handling the variables. Is there a shell-portable
> way to specify variables?
Not if you want them exported to subprocesses, no.
Colin Watson [email@example.com]