#!/usr/bin/env ruby cmd = gets if /GET/ =~ cmd then puts "Hello!" else puts "Bye bye" end