Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6794961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:17:07+00:00 2026-05-26T18:17:07+00:00

I am new to script writing. I have encountered the mentioned in the title

  • 0

I am new to script writing. I have encountered the mentioned in the title i.e ‘Syntax error at line 131 : “’ is not matched.’ . The code at line 131 is commented out. I think the line below might be causing the problem. Could anyone direct me how the code below should be written? I need to output the value of scp and ssh command to determine whether the code was succesfully executed.

scpstat=`echo scp $INPUTDIR/work_dir/$f $EUSER@$ESCSYS:$EDIR/build/. |
ssh $EUSER@$ECSYS "chmod 660 $EDIR/build/$f;chgrp 107 $EDIR/build/$f;chown 103 $ESCDIR/build/$f;rename $ESCDIR/build/$f $ESCDIR/work/$f"'
  status=$?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T18:17:07+00:00Added an answer on May 26, 2026 at 6:17 pm

    It looks to me like the ` (backtick) before echo is not matched, as the error suggests. It looks like the ‘ (apostrophe) at the end of the second line should be a backtick instead.

    Some people think it’s better style to use $(...) rather than `…`, and this is surely a good example of why.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing a script that will constantly scan iTunes for new dialog boxes and
I am writing an ajax script in jQuery. The script gets new or previous
Hi there i've built a new script (from scratch not a CMS) and i've
I am a new to Action Script, so I am not sure if my
I'am very new to google-apps-script. I encounter this error TypeError: Cannot find function getValue
I have a new problem with a python script. When I try to run
I'm a little new at PHP, so my script writing is still progressing. I
I have been writing some code that creates a generic blog. Its features are
I have a bash-script (let's call it /usr/bin/bosh ) using the following she-bang line:
I'm currently writing a Java daemon. I'm writing a script that will have the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.