Closed this issue 2 years ago · 1 comments
turnin ex1@cs999 myfile.c | yes results in an infinite loop, while it should just accept the first y and exit.
turnin ex1@cs999 myfile.c | yes
y
🤦
It works just fine if you use it as it is supposed to be used:
yes | turnin ex1@cs999 myfile.c