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.

6
  • Thanks, the [[ tip works well. Also "$()" makes sense too. Commented Jan 15, 2017 at 3:33
  • @ScriptKitty Note the "$i" as well. Commented Jan 15, 2017 at 3:34
  • @ScriptKitty did $i have spaces in filename ? Commented Jan 15, 2017 at 4:01
  • @Serg Why not follow the usual and safer route rather than confirming? :) Commented Jan 15, 2017 at 4:02
  • 1
    @heemayl by "safe and usual" route , I assume you mean quoting the variables - with which I absolutely agree , and that should be done in first place. I'm just curious what's user's specific case is :) Commented Jan 15, 2017 at 4:04