Let's say i have prog which reads data from stdin
I run it using my shell's input redirection:
$ ./some-exec --foo --bar < redirected_file.txt
$ printf "some-string\ndupa\n" | ./some-exec --foo --bar
It would be nice if ugdb took stdin and passed it to debugged program so we could use it that way:
$ ugdb -- ./some-exec --foo --bar < redirected_file.txt
$ printf "some-string\ndupa\n" | ugdb -- ./some-exec --foo --bar