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*

4
  • Thank youf for the answer. I am getting below error in bash. Kindly help. -bash: readarray: -d: invalid option Commented Sep 23, 2019 at 12:09
  • @SrinivasaraoKotipatruni, when I say bash 4.4+, that means bash version 4.4 or above. You must have an older version. Commented Sep 23, 2019 at 12:13
  • okay. Thank you. mine is 4.2 Commented Sep 23, 2019 at 12:17
  • @SrinivasaraoKotipatruni, see edit for older versions of bash. Commented Sep 23, 2019 at 13:50