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
  • The $(<...) ksh feature was added to bash in 2.02 released 20 years ago, so it's quite safe to assume it will be supported. Contrary to when using $(cat) however, read errors are not reported (and that's also the case for all other shells supporting the feature I've tested: ksh93, zsh, mksh) Commented May 29, 2017 at 20:56