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
  • Could you describe with words what the combination of your two scripts is doing? It looks like it could be done in a much more efficient way... Commented Nov 5, 2018 at 16:56
  • Thanks. See my update. I guess comm may solve my ultimate problem (but needs sort on the file arguments, which change the line order, undesirably). But right now I just wonder if a script is expecting a file argument, how can I provide an array to it? Commented Nov 5, 2018 at 17:04