Unix Whereis
¶ ↑
Unix Whereis provides Ruby interface to UNIX whereis
command. Some examples follow: (for details, see module documentation)
require "unix/whereis" Whereis.file? :ls # will return ["/bin/ls", "/usr/share/man/man1/ls.1.gz", "/usr/share/man/man1/ls.1p.gz"] Whereis.binary? :ls # will return ["/bin/ls"] Whereis.available? :ls # will return true
Contributing¶ ↑
-
Fork it.
-
Create a branch (
git checkout -b 20101220-my-change
). -
Commit your changes (
git commit -am "Added something"
). -
Push to the branch (
git push origin 20101220-my-change
). -
Create an Issue with a link to your branch.
-
Enjoy a refreshing Diet Coke and wait.
Copyright¶ ↑
Copyright © 2011 Martin Kozák. See LICENSE.txt
for further details.