#!/usr/local/bin/ruby

##
# @file      stdin.rb
# @author    Mitch Richling <https://www.mitchr.me/>
# @Copyright Copyright 2006 by Mitch Richling.  All rights reserved.
# @brief     Typical way one processes STDIN with ruby.@EOL
# @Keywords  ruby example stdin
# @Std       Ruby 1.8

# To Process standard input by lines (Perl-like)
STDIN.each_line { |line|
  # Put processing code here...
}