LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Read text problem (https://www.linuxquestions.org/questions/linux-software-2/read-text-problem-759921/)

elainelaw 10-05-2009 08:24 PM

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.

lutusp 10-05-2009 09:12 PM

Quote:

Originally Posted by elainelaw (Post 3708922)
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.


All times are GMT -5. The time now is 04:37 PM.