bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem in sdiff


From: RRamasamymani
Subject: Problem in sdiff
Date: Tue, 1 Oct 2002 17:39:35 +0530

Error Description:
                                                                            
                                                                            
   I had strange result when i ran sdiff command as below.                  
                                                                            
   Actually i have 2 files, in which file1 has the following content.       
    X                                                                       
    Y                                                                       
    Z                                                                       
                                                                            
   In File2, i have added one big line in between X and Y as below.         
                                                                            
    X                                                                       
    TAP_SUB_TRAN_TYP                2    #SubResp 52-pendingE/O,            
 55-nonpending E/O, 56-nonpending MF, 59-pending MF                         
    Y                                                                       
    Z                                                                       
                                                                            
 When i run sdiff like,                                                     
   sdiff -l -w 198 File1 File2, my output will be,                          
                                                                            
 X                                                                          
 >  TAP_SUB_TRAN_TYP                                                        
              2    #SubResp 52-pendingE/O, 55-nonpending E/O, 56-nonpen     
 Y                                                                          
 Z                                                                          
                                                                            
 Listen, in 2nd line some text is missed.                                   
                                                                            
 So, in sdiff, i increased, 255 with -w option, now sdiff results with some 
 junk char in front of the newlint started with TAP_SUB_TRAN_TYPE. Please   
 see below.                                                                 
                                                                            
 0dÿ>  >  TAP_SUB_TRAN_TYP  2       #SubResp 52-pendingE/O, 55-nonpending   
 E/O, 56-nonpending MF, 59-pending MF                                       
                                                                            
 Please advice, how i will solve this problem to get the exact line as it   
 is.                                                                        
                                                                            
 Thanks in advance,                                                         
 Ram                                                                        
                                                                            







reply via email to

[Prev in Thread] Current Thread [Next in Thread]