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*

2
  • Depends if this is just a snippet. I saw a convention recently that _1, _2 etc were assigned with args to a function (or a whole script -- cant now recall). So the answer may lie somewhere else in the script, or as one-off exports on the command line that invoked it. Commented Jul 7, 2020 at 17:32
  • Sorry: to clarify: saw the construct: _1=alpha _2=beta myCommand with the intent that args to myCommand are in local environment, ordered but not positional, and are also global even within functions. Commented Jul 8, 2020 at 9:34