[ruby-core:115667] [Ruby master Bug#20052] reline behaves oddly with redirect (non tty)