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
Column sum group by uniq records Nayanajith Shell Programming and Scripting 17 05-20-2009 10:57 AM
Filtering records of a file based on a value of a column risk_sly UNIX for Dummies Questions & Answers 4 09-24-2008 03:22 AM
finding null records in data file dsravan Shell Programming and Scripting 3 01-09-2007 03:46 PM
concatenating static string to records in data file gillbates Shell Programming and Scripting 5 06-22-2006 07:22 PM
Select records based on search criteria on first column shashi_kiran_v UNIX for Dummies Questions & Answers 2 12-02-2005 01:49 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 11-16-2008
digipak digipak is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 19
Excluding the records with data only occuring once in first column

Hello all, I need help with excluding the rows in which the data in the first column occur only once. For example;

DATA-1 8374 XX YY
DATA-1 9838 AB DD
DATA-1 8377 CC XY
DATA-2 8737 AB DD
DATA-3 7626 DC DD
DATA-3 8722 AB RE
DATA-4 8982 CD XY
DATA-5 7762 AC RT
DATA-5 8722 AD TD

So I want to get of rows number 4 (DATA-2 ......) and row number 7 (DATA-4 .....) as in these the data in the first column occurs only once.

Please help.
 

Bookmarks

Tags
excluding row, occuring once.

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 10:22 AM.


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