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.

1
  • 1
    This question has the signs of a XY problem. Can you provide an example or details that describe what problem this feature is supposed to solve? An alternative approach, and a common pattern in Unix & Linux would be to structure the script to read input from stdin, and use process substitution to direct output from a produced script to the stdin of the consumer script: consumer.sh <(producer.sh) Commented Mar 23, 2017 at 10:01