unix2dos did NOT fix line wrap problem on PC

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



I have log files will mail from LINUX to my PC (MS exchange and outlook).
 
When I look the E-MAIL, the log file line is unwrap.  My script did use "unix2dos" to convert format.  anyone know why?
 
 
======   script   =============
 
tail -30 /var/log/messages > /tmp/diskmsg.log
unix2dos /tmp/diskmsg.log
mail  -s "Check log" dba101@yahoo.com  </tmp/diskmsg.log

想知道無聊生活如何大變身嘛? - 馬上瞧瞧
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux