Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Apr 2020 21:59:59 +0200
From:      Jos Chrispijn <bsduser@cloudzeeland.nl>
To:        freebsd-questions@freebsd.org
Subject:   Re: Calling sh from csh
Message-ID:  <ed37fb74-f689-1dfe-27f8-209d54054b1a@cloudzeeland.nl>
In-Reply-To: <8a13c839-6e0c-8a6e-32bf-b4b42dfaff67@cloudzeeland.nl>
References:  <8a13c839-6e0c-8a6e-32bf-b4b42dfaff67@cloudzeeland.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5-4-20 21:48, Jos Chrispijn wrote:
> Can you tell me how I could find out if a shell script runs on csh or sh 
> and then execute it from within the right shell?

Solved it by running from cshell the command 'bash mytest.script'

Best, Jos Chrispijn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ed37fb74-f689-1dfe-27f8-209d54054b1a>