syntax error near unexpected token [on hold]

Multi tool use
Multi tool use












0














I trying to Setup PetaLinux Working Environment



   source /home/user/petalinux/settings.csh


but prompt with the following error:



bash: /home/user/petalinux/settings.csh: line 59: syntax error near unexpected token `('
bash: /home/user/petalinux/settings.csh: line 59: `foreach s (/bin/sh sh)'


The output of



~$ /bin/sh 
sh-4.3


Any help regarding this problem will be appreciated.










share|improve this question















put on hold as off-topic by George Udosen, user535733, Charles Green, vidarlo, Thomas Dec 29 '18 at 9:04


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – user535733, Charles Green, vidarlo, Thomas

If this question can be reworded to fit the rules in the help center, please edit the question.









  • 1




    I haven't used csh for many years ( faqs.org/faqs/unix-faq/shell/csh-whynot ), but putting blanks around the ( and ) would be what I tried first. Why tag this bash if you're using csh? Is this about Ubuntu?
    – waltinator
    Dec 28 '18 at 6:26










  • Petalinux and Xilinx are not Ubuntu. They have their own support venues, sorry. Waltinator is right - you seem to have a generic csh question.
    – user535733
    Dec 28 '18 at 12:46












  • The issue seems to be that you are trying to source a csh script into a bash shell - the syntaxes are incompatible
    – steeldriver
    Dec 28 '18 at 15:54
















0














I trying to Setup PetaLinux Working Environment



   source /home/user/petalinux/settings.csh


but prompt with the following error:



bash: /home/user/petalinux/settings.csh: line 59: syntax error near unexpected token `('
bash: /home/user/petalinux/settings.csh: line 59: `foreach s (/bin/sh sh)'


The output of



~$ /bin/sh 
sh-4.3


Any help regarding this problem will be appreciated.










share|improve this question















put on hold as off-topic by George Udosen, user535733, Charles Green, vidarlo, Thomas Dec 29 '18 at 9:04


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – user535733, Charles Green, vidarlo, Thomas

If this question can be reworded to fit the rules in the help center, please edit the question.









  • 1




    I haven't used csh for many years ( faqs.org/faqs/unix-faq/shell/csh-whynot ), but putting blanks around the ( and ) would be what I tried first. Why tag this bash if you're using csh? Is this about Ubuntu?
    – waltinator
    Dec 28 '18 at 6:26










  • Petalinux and Xilinx are not Ubuntu. They have their own support venues, sorry. Waltinator is right - you seem to have a generic csh question.
    – user535733
    Dec 28 '18 at 12:46












  • The issue seems to be that you are trying to source a csh script into a bash shell - the syntaxes are incompatible
    – steeldriver
    Dec 28 '18 at 15:54














0












0








0







I trying to Setup PetaLinux Working Environment



   source /home/user/petalinux/settings.csh


but prompt with the following error:



bash: /home/user/petalinux/settings.csh: line 59: syntax error near unexpected token `('
bash: /home/user/petalinux/settings.csh: line 59: `foreach s (/bin/sh sh)'


The output of



~$ /bin/sh 
sh-4.3


Any help regarding this problem will be appreciated.










share|improve this question















I trying to Setup PetaLinux Working Environment



   source /home/user/petalinux/settings.csh


but prompt with the following error:



bash: /home/user/petalinux/settings.csh: line 59: syntax error near unexpected token `('
bash: /home/user/petalinux/settings.csh: line 59: `foreach s (/bin/sh sh)'


The output of



~$ /bin/sh 
sh-4.3


Any help regarding this problem will be appreciated.







qemu syntax csh xilinx






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 28 '18 at 9:08

























asked Dec 28 '18 at 5:32









abbasi_ahsan

154




154




put on hold as off-topic by George Udosen, user535733, Charles Green, vidarlo, Thomas Dec 29 '18 at 9:04


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – user535733, Charles Green, vidarlo, Thomas

If this question can be reworded to fit the rules in the help center, please edit the question.




put on hold as off-topic by George Udosen, user535733, Charles Green, vidarlo, Thomas Dec 29 '18 at 9:04


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – user535733, Charles Green, vidarlo, Thomas

If this question can be reworded to fit the rules in the help center, please edit the question.








  • 1




    I haven't used csh for many years ( faqs.org/faqs/unix-faq/shell/csh-whynot ), but putting blanks around the ( and ) would be what I tried first. Why tag this bash if you're using csh? Is this about Ubuntu?
    – waltinator
    Dec 28 '18 at 6:26










  • Petalinux and Xilinx are not Ubuntu. They have their own support venues, sorry. Waltinator is right - you seem to have a generic csh question.
    – user535733
    Dec 28 '18 at 12:46












  • The issue seems to be that you are trying to source a csh script into a bash shell - the syntaxes are incompatible
    – steeldriver
    Dec 28 '18 at 15:54














  • 1




    I haven't used csh for many years ( faqs.org/faqs/unix-faq/shell/csh-whynot ), but putting blanks around the ( and ) would be what I tried first. Why tag this bash if you're using csh? Is this about Ubuntu?
    – waltinator
    Dec 28 '18 at 6:26










  • Petalinux and Xilinx are not Ubuntu. They have their own support venues, sorry. Waltinator is right - you seem to have a generic csh question.
    – user535733
    Dec 28 '18 at 12:46












  • The issue seems to be that you are trying to source a csh script into a bash shell - the syntaxes are incompatible
    – steeldriver
    Dec 28 '18 at 15:54








1




1




I haven't used csh for many years ( faqs.org/faqs/unix-faq/shell/csh-whynot ), but putting blanks around the ( and ) would be what I tried first. Why tag this bash if you're using csh? Is this about Ubuntu?
– waltinator
Dec 28 '18 at 6:26




I haven't used csh for many years ( faqs.org/faqs/unix-faq/shell/csh-whynot ), but putting blanks around the ( and ) would be what I tried first. Why tag this bash if you're using csh? Is this about Ubuntu?
– waltinator
Dec 28 '18 at 6:26












Petalinux and Xilinx are not Ubuntu. They have their own support venues, sorry. Waltinator is right - you seem to have a generic csh question.
– user535733
Dec 28 '18 at 12:46






Petalinux and Xilinx are not Ubuntu. They have their own support venues, sorry. Waltinator is right - you seem to have a generic csh question.
– user535733
Dec 28 '18 at 12:46














The issue seems to be that you are trying to source a csh script into a bash shell - the syntaxes are incompatible
– steeldriver
Dec 28 '18 at 15:54




The issue seems to be that you are trying to source a csh script into a bash shell - the syntaxes are incompatible
– steeldriver
Dec 28 '18 at 15:54















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

VrKb6CyrPQIcZNMzTqD5F7ZqCmwm zJ3OOR,OLNNHIkfCp62ktd7 K1WJH0QN3mKIjFv,B0ZAuLZqLZnh
8C eD BmLrjJ x95nOtU8SL jKbJVBuM2q,z5WiqK4 VsmG3EIVXE,YdkbnFZSNFRmo8EsLu3ADMjEYGc HDhu zS k1qk4

Popular posts from this blog

香港中文大學

C++ lambda syntax

澎湖天后宮