From 08aa5e406a1f7b39182e79ea4eb7fabf7d61eaa3 Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 30 Dec 2013 14:34:38 +0100 Subject: //Cancer -> // because that is what painload is all about --- query/realpath/src/realpath.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 query/realpath/src/realpath.rb (limited to 'query/realpath/src/realpath.rb') diff --git a/query/realpath/src/realpath.rb b/query/realpath/src/realpath.rb new file mode 100755 index 00000000..8e19785b --- /dev/null +++ b/query/realpath/src/realpath.rb @@ -0,0 +1,10 @@ +#!/usr/bin/env ruby + +begin + $stdout.print File.realpath(ARGV[0]) + $stdout.print "\n" +rescue Exception => err + $stderr.print err + $stderr.print "\n" + exit 1 +end -- cgit v1.2.3