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.

4
  • Did you edit and save the file on a Windows system? Commented Jan 17, 2022 at 7:44
  • No, but the command also complains about $'\r' command not found, which just correlates to empty lines in the file. Could this be the cause? Commented Jan 17, 2022 at 15:42
  • Yes, that's another typical symptom of using a DOS/Windows text file on a Unix system, hence my previous comment. Commented Jan 17, 2022 at 16:02
  • I converted the file from dos to unix and it now runs correctly. Thank you. Commented Jan 17, 2022 at 20:22