#!/usr/bin/env ruby x = STDIN.read File.write('/tmp/rb-data.txt', x)