3 ms·> echo "foo" | ruby -e 'puts "hello #{STDIN.gets}"' Just "gets" also works instead of "STDIN.gets"by Alifatisk 1y ago> echo "foo" | ruby -e 'puts "hello #{STDIN.gets}"' Just "gets" also works instead of "STDIN.gets"