Re: the fedora csh and goto

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

 





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

just a short addition to my previous post.


JD <jd1008@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux