[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: |
Mon, 21 Mar 2016 12:37:07 -0600 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
Mun wrote:
> For example, the first thing I hit was that when I run the
> script under csh, I get the following error:
>
> File name too long.
> if: Expression Syntax.
>
> I have no issues when run under bash. I'm sure this is something
> trivial, I just haven't looked into it yet. ...
As Greg says this problem is a missing #!/bin/bash line (or #!/bin/sh)
in the file. He says other good stuff too. But I wanted to make it
more emphatic that you need to add this line to the top line of those
improper scripts. Otherwise csh will try to handle them itself.
#!/bin/bash
Bob
- Re: [Help-bash] bash to csh converter?, (continued)
- Re: [Help-bash] bash to csh converter?, Bob Proulx, 2016/03/18
- Re: [Help-bash] bash to csh converter?, Mun, 2016/03/19
- Re: [Help-bash] bash to csh converter?, Steven Ford, 2016/03/19
- Re: [Help-bash] bash to csh converter?, Mun, 2016/03/21
- Re: [Help-bash] bash to csh converter?, Greg Wooledge, 2016/03/21
- Re: [Help-bash] bash to csh converter?, Mun, 2016/03/22
- Re: [Help-bash] bash to csh converter?, Bob Proulx, 2016/03/22
- Re: [Help-bash] bash to csh converter?, Mun, 2016/03/23
- Re: [Help-bash] bash to csh converter?, Greg Wooledge, 2016/03/23
- Re: [Help-bash] bash to csh converter?, Mun, 2016/03/23
- Re: [Help-bash] bash to csh converter?,
Bob Proulx <=
- Re: [Help-bash] bash to csh converter?, Bob Proulx, 2016/03/19