The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
sdiff issue - not gathering correct difference thegant UNIX for Dummies Questions & Answers 1 05-07-2008 12:38 PM
A more intelligent SDIFF robbiegregg UNIX for Dummies Questions & Answers 1 02-07-2008 01:28 PM
problem with dd command or maybe AFS problem Anta Shell Programming and Scripting 0 08-25-2006 07:10 AM
sdiff problem ruudrio Shell Programming and Scripting 0 08-22-2005 05:06 AM
SSH Problem auth problem budrito UNIX for Advanced & Expert Users 1 03-17-2004 07:12 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 10-21-2005
Registered User
 

Join Date: Oct 2005
Posts: 4
Sdiff ? problem

Hello,
I'm using Sdiff to compare 2 files, I've used this before and it works fine
and still does in some cases.
But it seems to trip up when using combinations of alpha-numeric text.

I created two simple files to test and as you can see it seems to trip up
on the "gr55a" text, any ideas ?

example output below;

gr9 | gr88
gr1 gr1
gr99 <
gr55a <
gr55c <
gr2 <
gr22 gr22
gr5 | gr3
gr333 | gr66
gr6 | gr4
gr77 | gr7
> gr55a
> gr55b
> gr33
> gr8
> gr44
Reply With Quote
Forum Sponsor
  #2  
Old 10-22-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,613
Quote:
Originally Posted by cowpoke
I created two simple files to test and as you can see it seems to trip up on the "gr55a" text, any ideas ?
Actually, I cannot see that at all. Here's an idea! Post the input files.
Reply With Quote
  #3  
Old 10-24-2005
Registered User
 

Join Date: Oct 2005
Posts: 4
Sure thing,

File 1;

gr9
gr1
gr99
gr55a
gr55c
gr2
gr22
gr5
gr333
gr6
gr77

File 2;
gr88
gr1
gr22
gr3
gr66
gr4
gr7
gr55a
gr55b
gr33
gr8
gr44

Sdiff output

gr9 | gr88
gr1 gr1
gr99 <
gr55a <
gr55c <
gr2 <
gr22 gr22
gr5 | gr3
gr333 | gr66
gr6 | gr4
gr77 | gr7
> gr55a
> gr55b
> gr33
> gr8
> gr44

Last edited by cowpoke; 10-24-2005 at 06:00 AM.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:37 AM.


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

Content Relevant URLs by vBSEO 3.2.0