Readlink.
parent
01cc4633fe
commit
714300bdb5
|
@ -0,0 +1,4 @@
|
||||||
|
pp! ARGV[0]
|
||||||
|
pp! File.readlink(ARGV[0]).sub(/^.*\//, "").to_i
|
||||||
|
pp! File.exists? ARGV[0]
|
||||||
|
pp! File.symlink? ARGV[0]
|
Loading…
Reference in New Issue