![]() |
|
|
+ Search |
![]()
|
Oct 11th, 2004 06:44
Ankit Sharma,
Following script will do the work:
#################################################################
find . -name *.h | awk -F/ '{for (i=1;i<NF;i++) printf "%s/",$i;
printf"\n"}'|uniq
#################################################################
Suggestions are always welcome to improve this script.