Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
#!/usr/bin/env ruby
unless (1..2).include? ARGV.size
STDERR.write("usage: #{File.basename $0} filename [dirstring]\n")
exit 1
puts File.expand_path( *ARGV )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.