The UNIX and Linux Forums  

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




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 11-17-2008
yongitz yongitz is offline
Registered User
  
 

Join Date: Apr 2008
Location: Philippines
Posts: 68
If you want only the 1st column(AuctionID) then I guess the code below should work

Code:
grep -v AuctionID ebay_sort.dat|cut -d"," -f1|sort -u > acution_list.dat

It will output the 1st column minus the "AuctionID". Hope that helps.