fork(1) download
  1. # filter field2 include string
  2. LIST = File.readlines(ARGV.shift).map(&:chomp)
  3.  
  4. ARGF.each_line do |line|
  5. url = line.split("\t")[1]
  6. print line if LIST.any?{|pre|url[pre]}
  7. end
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty