HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sdiff output anomaly
Operating System - HP-UX
        1839919
        Members
    
    
        2612
        Online
    
    
        110157
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2006 02:16 AM
02-03-2006 02:16 AM
			
				
					
						
							sdiff output anomaly
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						We are running sdiff against some test output and finding that we appear to be getting "strange" anomalies in the output from sdiff. It appears that sdiff is indicating differences in lines that are not different, and it is not showing lines that do differ. We are running sdiff on HPUX and find this problem. However when I run sdiff on Linux using the same data files we get the output I would expect. 
Has anyone seen this before and can you point me in the direction of any fix.
		
		
	
	
	
Has anyone seen this before and can you point me in the direction of any fix.
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2006 04:40 AM
02-03-2006 04:40 AM
			
				
					
						
							Re: sdiff output anomaly
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						George
Can you post the original files so that I could try it out myself?
Are these ASCII files or UTF8? I recently was running sort on ASCII and UTF8 files and noticed a difference depending on the locale that was set for the user running the command.
		
		
	
	
	
Can you post the original files so that I could try it out myself?
Are these ASCII files or UTF8? I recently was running sort on ASCII and UTF8 files and noticed a difference depending on the locale that was set for the user running the command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2006 11:07 PM
02-05-2006 11:07 PM
			
				
					
						
							Re: sdiff output anomaly
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						It can be that the normal output of this comand is differedn on linux please try the -s option (that normaly removes the lines that are te same. 
ps what does a normal diff say?
		
		
	
	
	
ps what does a normal diff say?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 12:44 AM
02-06-2006 12:44 AM
			
				
					
						
							Re: sdiff output anomaly
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Gentlemen
Thanks for your replies.
The files we are comparing are text files. Running an sdiff -s using the sample files I have does clear the problem somewhat, however it still appears to show lines that are the same, as different. I've attached copies of the files I am comparing. Running a diff against the two files shows similar anomalies to the output I get from sdiff.
		
		
	
	
	
Thanks for your replies.
The files we are comparing are text files. Running an sdiff -s using the sample files I have does clear the problem somewhat, however it still appears to show lines that are the same, as different. I've attached copies of the files I am comparing. Running a diff against the two files shows similar anomalies to the output I get from sdiff.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP
