diff options
author | makefu <github@syntax-fehler.de> | 2013-12-30 03:57:10 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2013-12-30 03:57:10 +0100 |
commit | 17890aed8488845cd38aac917596048f3f716387 (patch) | |
tree | e6c9bdcc43154598850f055bb728c307ccb88517 /Cancer/query/realpath/src | |
parent | 25f7b33bf43e4d7a049eb1f4885d24f24ac1dca9 (diff) |
//query -> //Cancer
Diffstat (limited to 'Cancer/query/realpath/src')
-rwxr-xr-x | Cancer/query/realpath/src/realpath.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Cancer/query/realpath/src/realpath.rb b/Cancer/query/realpath/src/realpath.rb new file mode 100755 index 00000000..8e19785b --- /dev/null +++ b/Cancer/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 |