in reply to Pipe filenames, then get user confirmation

So, you're reading from STDIN, which has been redirected from a file. And once the file is exhausted, you want STDIN to be changed back to the terminal/keyboard?

That sounds to me like an OS and/or shell issue which I'm not terribly familiar with, but perhaps another monk can help if you provide those details.

  • Comment on Re: Pipe filenames, then get user confirmation

Replies are listed 'Best First'.
Re^2: Pipe filenames, then get user confirmation
by cniggeler (Sexton) on Sep 03, 2014 at 18:47 UTC
    Yes, correct: read filenames from pipe and once that's exhausted, read user input from STDIN. The behavior is the same in both Windows and Linux, at least on the versions I tested.