The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
help with Loop
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Rules & FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
help with Loop
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
02-04-2002
witt
Guest
Posts: n/a
Bifo,
you can try this :
for ksh and sh script do :
for file in `find /mypath -type f -name "*.mysuffix"`
do
cat $file
done
for csh script do :
foreach file(`find /mypath -type f -name "*.mysuffix"`)
cat $file
end
Witt
witt