Answers for "ruby read stdin"

0

ruby read stdin

# print all the lines in every file passed via command line that contains login
ARGF.each do |line|
    puts line if line =~ /login/
end
Posted by: Guest on May-13-2020

Browse Popular Code Answers by Language