Re: the fedora csh and goto

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

 



On Mon, 2017-08-21 at 15:30 -0600, JD wrote:
> 
> On 08/21/2017 01:16 AM, Michael Welle wrote:
> > Hallo,
> > 
> > JD <jd1008@xxxxxxxxx> writes:
> > 
> > > The manpage for the fedora csh describes the usage of goto,
> > > but it does not work.
> > > Anyone with insight on this?
> > > 
> > > If you CAN make it work, please provide
> > > a skeleton of the script where the label
> > > is visible and the goto statement is visible :)
> > 
> > what does 'does not work' mean? What have you tried so far? It's
> > straight forward, I think.
> > 
> > #!/bin/csh
> > 
> > label:
> > printf "foo"
> > sleep 1
> > goto label
> > 
> > Regards
> > hmw
> 
> This is what "Does Not Work" mean:
> Running your example:
> $ /tmp/test-csh-goto
> foo
> /tmp/test-csh-goto[21]: goto: not found [No such file or directory]

What does "which goto" say?

poc
_______________________________________________
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