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.

2
  • It is not really clear what is not working as expected. Where does the input of the outer script come from? For completeness: what shell is your script running in? Commented Oct 12, 2020 at 17:27
  • @fra-san I will use it as something | this-script | something-else, where something varies, essentially it's to be a poor man's dmenu for some cases. Shell - currently just targeting POSIX /bin/sh, but requiring bash is fine if it somehow really makes life easier. Commented Oct 12, 2020 at 18:59