#!/usr/bin/ruby # ## http://rosettacode.org/wiki/File_size # say (Dir.cwd + %f'input.txt' -> size); say (Dir.root + %f'input.txt' -> size);