LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-05-2009, 08:24 PM   #1
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Rep: Reputation: 30
Read text problem


I use REHL linux system and tailer make system is running on it , the tailer make system generated a text file to the linux , i use vi to read it , it is normal .


Part of the file is as below
==================
112 334.32 3342.00 347.66 465.30
34 543.34 444.54 532.42 354.40

Now , I use sendmail deamon to transfer the file ( as attachment ) to lotus notes system , then read the file from lotus notes , I found that one of column have problem , the decimal is missing , the text file becomes as below ( please see the fifth column , only one column have problem )

112 334.32 3342.00 347.66 46530
34 543.34 444.54 532.42 35440

If I use ftp to transfer the file from linux to my desktop , the problem do not occur .

can advise what is wrong ? is the sendmail have problem ? thx in advance.
 
Old 10-05-2009, 09:12 PM   #2
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by elainelaw View Post
I use REHL linux system and tailer make system is running on it , the tailer make system generated a text file to the linux , i use vi to read it , it is normal .


Part of the file is as below
==================
112 334.32 3342.00 347.66 465.30
34 543.34 444.54 532.42 354.40

Now , I use sendmail deamon to transfer the file ( as attachment ) to lotus notes system , then read the file from lotus notes , I found that one of column have problem , the decimal is missing , the text file becomes as below ( please see the fifth column , only one column have problem )

112 334.32 3342.00 347.66 46530
34 543.34 444.54 532.42 35440

If I use ftp to transfer the file from linux to my desktop , the problem do not occur .

can advise what is wrong ? is the sendmail have problem ? thx in advance.
The problem isn't likely to be sendmail. Why not examine the file at each point along the way? Look at it before it is sent, and after (as plain text), then see if Lotus Notes is doing something to it.
 
  


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
Problem in read a text file and display in DOS command... steve2688 Programming 7 06-17-2009 03:04 AM
Old problem still not resolved - text too light to read in KDE helios17 Linux - Desktop 2 06-26-2008 06:06 PM
how do i read a particular line from the text file.. pdklinux79 Linux - Newbie 3 06-09-2008 07:16 PM
use fscanf to read text from a file emp1953 Linux - Newbie 2 03-14-2008 03:08 PM
Read text files alanlow Programming 1 04-15-2004 10:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:30 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