Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

Cancel
9
  • 1
    You are required to post a minimal reproducible example here, within your question, and not a link to any other site.
    – Rob
    Commented Jun 10, 2021 at 15:19
  • Check your script with Shell Check to catch various basic syntax errors. Commented Jun 10, 2021 at 15:20
  • 1
    "is not working" isn't helpful. Are you getting an error message? what is it doing? c.f. this guide to asking a question well. Commented Jun 10, 2021 at 15:20
  • 1
    Show the before, the after, and the output. Use set -x. Commented Jun 10, 2021 at 15:22
  • 1
    It's not =+ and =-, it's either, =, + or -.
    – Barmar
    Commented Jun 10, 2021 at 15:32