On Feb 7, 2008, at 8:28 PM, Andy Armstrong wrote:
ack -h '^use\s+\w+' | perl -pe 's/^use\s+(\w+(?:::\w+)*).*/$1/' | sort -u
Great minds think alike, except that you don't need to be doing that Perl stuff. The --output flag for ack is your friend.
-- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance