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 here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Comparing the common columns of a table in two files ragavhere SUN Solaris 1 04-11-2008 05:41 AM
Inserting Values From A File Into A Table ragha81 Shell Programming and Scripting 2 09-16-2006 04:10 PM
comparing two float values kavitha Shell Programming and Scripting 2 04-02-2004 10:32 PM
How to load comma seperated values file (*.csv) into Oracle table handynas UNIX for Advanced & Expert Users 4 06-24-2002 09:35 AM
How to load comma seperated values file (*.csv) into Oracle table handynas UNIX for Dummies Questions & Answers 5 06-04-2002 08:10 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-22-2008
Registered User
 

Join Date: Dec 2007
Posts: 16
Comparing data in file with values in table

Hi,

I want to calculate the number of pipe delimiters in a file for all lines seperately.

For eg:i have a file Project.txt

Mohit|chawla|123|678
File1|File2|345|767|678

And my file contains many lines like this
it shd give me the output as
4
5
or give me the output for all the values greater than 4

Last edited by Mohit623; 07-09-2008 at 05:47 AM. Reason: Question changed
Reply With Quote
Google UNIX.COM
Forum Sponsor
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:57 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0