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*

3
  • 1
    For option 1, maybe creating a file descriptor for /dev/tty (which always is yr terminal) in a manner proposed by @John1024 at superuser.com/questions/834502/… .... or opt for the non-interactive mode, where you would get suggestions displayed, accept or modify each of them and then submit those corrections from within yr script.... Commented Aug 18, 2018 at 8:37
  • @Cbhihe thank you for the assistance, I wrote: exec < /dev/tty it worked like a charm! :) Commented Aug 18, 2018 at 22:09
  • 1
    You should write a complete answer to your own question and then accept it, so others may benefit from it in the future, taking stock of the fact that your questions has an accepted answer. (In doing so you will not accrue karma points, but you will be doing a service to the community by enriching the database.) Commented Aug 19, 2018 at 8:15