summaryrefslogtreecommitdiff
path: root/strip_whitespace
blob: 37c02e5fbea403b928e5ec0daef50e3abecf42af (plain)
1
2
3
4
5
6
#!/usr/bin/env ruby

while line = STDIN.gets
  puts line.lstrip.strip
end