help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] bash to csh converter?


From: Bob Proulx
Subject: Re: [Help-bash] bash to csh converter?
Date: Fri, 18 Mar 2016 18:16:43 -0600
User-agent: Mutt/1.5.24 (2015-08-30)

Mun wrote:
> I need to convert some scripts from bash to t/csh and was wondering if
> anyone knew of any good converter script/tool?  So far my Google'ing has
> been fruitless.

Your posting prompts me to ask questions.  Since #!/bin/csh scripting
is generally regarded as inferior to #!/bin/sh scripting, a proposal
such as this triggers questions.  Are you sure you want to go that
direction and not the other way?  Please, please say that it is the
other way around.  Note that scripts can always use #!/bin/bash to
select the interpreter it doesn't make sense to convert those scripts
to #!/bin/csh.

I can only assume that you are working in a tcsh prompt and are
sourcing files and are trying to convert some bash to something that
can be sourced in the csh .login file.  Am I close?

Bob



reply via email to

[Prev in Thread] Current Thread [Next in Thread]