On 08/22/2017 03:27 AM, Michael Welle wrote:
Hello,

just a short addition to my previous post.


JD <jd1...@gmail.com> writes:

I ran your the script used by Michael Welle, but changes
#!/bin/csh
to
#!/bin/tcsh

and it displayes the same problem:

Cat /tmp/test-csh-goto
#/bin/tcsh
  ^^^^^^^^^^^^ this wrong shebang line gives you...


label:
printf "foo"
sleep 1
goto label

$ /tmp/test-csh-goto
foo
/tmp/test-csh-goto[6]: goto: not found [No such file or directory]
...this error message if you current shell is ksh for instance.

Regards
hmw
_______
Bingo.
THAT was my oversight.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to