The UNIX and Linux Forums  

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



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to verify that copied data to remote system is identical with local data. ynilesh Shell Programming and Scripting 3 01-31-2008 08:55 AM
helo how to mount pendrive on redhat 9 amitpansuria Red Hat 1 10-08-2007 12:07 PM
Howto capture data from rs232port andpull data into oracle database-9i automatically boss UNIX for Dummies Questions & Answers 1 09-23-2007 03:35 AM
Using loop reading a file,retrieving data from data base. Sonu4lov Shell Programming and Scripting 1 01-19-2007 03:38 AM
helo,every! main1984 UNIX for Dummies Questions & Answers 4 07-19-2005 03:46 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 01-23-2006
getdpg getdpg is offline
Registered User
  
 

Join Date: Jan 2006
Posts: 72
helo need for data

Dear All,

I am sorry i am posting again my question . Please help me rather than getting angry at me ...

I want to find out number of fails from different files ..

The files are generated in diffenent directories .The directories are created date wise .

Example :
/users/testsuite/appl/2006-01-20/
|------devel/
|-----via1/run.log
|-----via2/run.log


The file run.log contains fails . The fails record is started with ! .

I need output like this :

version :devel
via1 - 10 fails
via2 - 15 fails

version :9
sun : 5 fails
linux - 18 fails

pls help me to write this script

thanks in advance
 

Bookmarks

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:57 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0