Am 20.08.2016 um 19:42 schrieb Morten Kjærulff:
Hi,
I thought that #!/bin/sh in a script would be a bash, but it seems not
to be - or what am I doing wrong?
You're asking bash the wrong questions, for starters. In particular,
you're mixing up the check whether the shell running that script _is_
bash, with whether it _behaves_ like a (full) bash.
To resolve that difference, have a look at
info bash "Bash Features" "Bash POSIX mode"
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple