Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google site




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 05-10-2006
ajaya ajaya is offline
Registered User
 

Join Date: Mar 2006
Posts: 28
more clearly I am trying to like this


for i in ` ls -ld */ |awk '{print $9}'| awk -F \/ '{print $1}'` ;
do

awk $i~/^DQA/ ' {
log for processing goes here

}'
done

when i find directoy, then i need to see first three character of $i and if matches, process

thanks