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*

5
  • Are the names with spaces being quoted when invoking the script? Commented Oct 23, 2015 at 15:03
  • @EricRenouf No. This is mostly * or *.tex or something similar. Commented Oct 23, 2015 at 15:06
  • The shell will expand them correctly there, so that should be OK I think. Commented Oct 23, 2015 at 15:09
  • @Masroor you made a mistake in copying what was posted. Use "@" not '"$@"' Also it is generally more helpful to put the set -x inside the script. Commented Oct 23, 2015 at 15:33
  • @rocky I thought that at first too, but that's just how set -x ends up displaying the "$@" part, I tried it locally and saw the same thing, it just turned out to be a typo further down Commented Oct 23, 2015 at 15:41