Mike Simons said:

> find . -name 'wwwboard.html' -print | sed 's/\/\([^\/]*\)$/ \1/' |
>   while read dir file; do
>     echo "file = $file, directory = $dir"
>   done

Thanks, that did the trick.


>   The more complex you make things the more you should look into doing
> this with perl.

My preference as well, but not really workable under the circumstances.

-- 
Sliante,
Richard S. Crawford

http://www.mossroot.com
AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford
MSN: [EMAIL PROTECTED]

"It is only with the heart that we see rightly; what is essential is
invisible to the eye." --Antoine de Saint Exup�ry


_______________________________________________
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech

Reply via email to