The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
parsing output from ls command
.
User Name
Remember Me?
Password
google site
Forums
Register
Blog
Man Pages
Forum Rules
Links
Albums
FAQ
Users
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
parsing output from ls command
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
05-10-2006
ajaya
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
ajaya
View Public Profile
Find all posts by ajaya