backscratcher

 

scanpath

Page history last edited by tbarron 1 yr ago

scanpath

 


#!/usr/bin/perl

$path = $ENV{'PATH'};

# print("$pathn");
foreach $dir (split(/:/, $path))
{
   # print("scanning $dirn");
   print("   $dir/$ARGV[0]n") if (-e "$dir/$ARGV[0]");
}

Comments (0)

You don't have permission to comment on this page.