LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 03-11-2005, 10:23 PM   #1
cool244
LQ Newbie
 
Registered: Mar 2005
Posts: 7

Rep: Reputation: 0
line count mismatch between source and target systems.


Folks,

I am transferring files from AIX to Linux (ASCII files). After transfer, I am doing verification by doing wc -l. For small files, the line count match. For large files, wc -l output do not match. I tried changing the LANG variable on Linux side and tried matching to what I have on AIX side, still no luck.
The strange thing is, byte and block count match.

Exmple: on AIX

4842659 aaa #output from wc
11622 2426059 aaa #output from sum

On Linux

4842408 aaa # output from Linux
31557 2426059 aaa # output from sum

Any help is appreciated.

Thank you
 
Old 04-08-2005, 05:25 PM   #2
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
How are you transferring them?
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
line count mismatch between AIX and Linux after ftp cool244 AIX 7 03-15-2005 10:22 AM
word count in a line pantera Programming 4 08-25-2004 01:14 PM
How to count line numbers recursively in a directory? puzz_1 Linux - General 1 07-01-2004 09:43 AM
Count number of line in a file. philipina Programming 7 03-18-2004 05:04 PM
Count of unread messages from command line rebuke Linux - Software 0 12-26-2003 06:41 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 02:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration