Re: the fedora csh and goto

2017-08-22 Thread JD
On 08/22/2017 03:27 AM, Michael Welle wrote: Hello, just a short addition to my previous post. JD 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 sh

Re: the fedora csh and goto

2017-08-22 Thread Ed Greshko
On 08/22/2017 05:27 PM, Michael Welle wrote: > Hello, > > just a short addition to my previous post. > > > JD 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

Re: the fedora csh and goto

2017-08-22 Thread Michael Welle
Hello, just a short addition to my previous post. JD 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:

Re: the fedora csh and goto

2017-08-22 Thread Michael Welle
Hello, JD writes: > On 08/21/2017 01:16 AM, Michael Welle wrote: >> Hallo, >> >> JD 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

Re: the fedora csh and goto

2017-08-21 Thread Ed Greshko
On 08/22/2017 07:36 AM, Gordon Messmer wrote: > Yes, it should be, but the question is still valid. You *should* get this > response: > > $ which goto > goto: shell built-in command. > > If that's not the response you get, the result might be informative. FWIW, you only get that result if the sh

Re: the fedora csh and goto

2017-08-21 Thread Gordon Messmer
On 08/21/2017 03:09 PM, JD wrote: What does "which goto" say? Dude goto is a built-in! Yes, it should be, but the question is still valid. You *should* get this response: $ which goto goto: shell built-in command. If that's not the response you get, the result might be informati

Re: the fedora csh and goto

2017-08-21 Thread Patrick O'Callaghan
On Mon, 2017-08-21 at 16:09 -0600, JD wrote: > > What does "which goto" say? > > > > poc > > Dude > goto is a built-in! Not in every Shell, which is why I asked. Never mind. poc ___ users mailing list -- users@lists.fedoraproject.org To unsubs

Re: the fedora csh and goto

2017-08-21 Thread JD
On 08/21/2017 03:52 PM, Ed Greshko wrote: On 08/22/2017 05:36 AM, JD wrote: Cat /tmp/test-csh-goto #/bin/tcsh 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] Is that what is actually in your file? ! seems to

Re: the fedora csh and goto

2017-08-21 Thread JD
On 08/21/2017 03:50 PM, Patrick O'Callaghan wrote: On Mon, 2017-08-21 at 15:30 -0600, JD wrote: On 08/21/2017 01:16 AM, Michael Welle wrote: Hallo, JD 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

Re: the fedora csh and goto

2017-08-21 Thread JD
On 08/21/2017 03:45 PM, Gordon Messmer wrote: On 08/21/2017 02:30 PM, JD wrote: This is what "Does Not Work" mean: Running your example: Works here: $ rpm -qf /bin/csh tcsh-6.20.00-5.fc26.x86_64 Thanx. I am updating. ___ users mailing list --

Re: the fedora csh and goto

2017-08-21 Thread Ed Greshko
On 08/22/2017 05:36 AM, JD wrote: > Cat /tmp/test-csh-goto > #/bin/tcsh > 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] Is that what is actually in your file? ! seems to be missing. You may want

Re: the fedora csh and goto

2017-08-21 Thread Patrick O'Callaghan
On Mon, 2017-08-21 at 15:30 -0600, JD wrote: > > On 08/21/2017 01:16 AM, Michael Welle wrote: > > Hallo, > > > > JD 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,

Re: the fedora csh and goto

2017-08-21 Thread Gordon Messmer
On 08/21/2017 02:30 PM, JD wrote: This is what "Does Not Work" mean: Running your example: Works here: $ rpm -qf /bin/csh tcsh-6.20.00-5.fc26.x86_64 ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...

Re: the fedora csh and goto

2017-08-21 Thread JD
On 08/21/2017 02:02 AM, Joachim Backes wrote: On 08/21/17 09:16, Michael Welle wrote: Hallo, JD 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

Re: the fedora csh and goto

2017-08-21 Thread JD
On 08/21/2017 01:16 AM, Michael Welle wrote: Hallo, JD 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 i

Re: the fedora csh and goto

2017-08-21 Thread Joachim Backes
On 08/21/17 09:16, Michael Welle wrote: Hallo, JD 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 visib

Re: the fedora csh and goto

2017-08-21 Thread Michael Welle
Hallo, JD 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

the fedora csh and goto

2017-08-20 Thread JD
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 :) Thanx. ___ u