Created
July 9, 2013 09:45
-
-
Save alecs/5956089 to your computer and use it in GitHub Desktop.
perl find in path or print path
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
perl -e "use POSIX; my $path = $ENV{PATH}; @cale = split '\;', $path; foreach my $el (@cale) { print $el.\"\n\"; }" | |
perl -e "use POSIX; my $path = $ENV{PATH}; @cale = split '\;', $path; foreach my $el (@cale) { print $el.\"\n\"; `nixfind $el -type f -name \"*glib*\"`; print \"\n\n\"; }" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment