Sponsored Content
Top Forums Shell Programming and Scripting Text format problem with xmail Post 302507203 by Castelior on Wednesday 23rd of March 2011 05:11:22 AM
Old 03-23-2011
Text format problem with xmail

Hi,

I have a very weird problem when I try to send a text file to outlook using the xmail command.
Code:
[root@bgsvm0202 tmp]# cat -e dec1.tmp
SPEEDY 23-MAR-2011 01:28 ok$
99svpp pas d'information$
98pdrt pas d'information$
57METZ 22-MAR-2011 23:50 ok$

[root@bgsvm0202 tmp]# cat -e dec2.tmp
SPEEDY 23-MAR-2011 01:14, SaveSYST ==> DerniM-hre : 18-MAR-2011 11:10:08.16$
99svpp pas d'information$
98pdrt pas d'information$
57METZ 22-MAR-2011 23:44, SaveSYST ==> DerniM-hre : 18-MAR-2011 11:17:51.90$

I try to send the file by email with those commands
Code:
mailx -s "dec1" " myadress@xxx.com" < dec1.tmp
mailx -s "dec2" " myadress@xxx.com" < dec2.tmp


In outlook the dec1 is perfectly correct.
Code:
SPEEDY 23-MAR-2011 01:28 ok
99svpp pas d'information
98pdrt pas d'information
57METZ 22-MAR-2011 23:50 ok


dec2 is like that :
Code:
SPEEDY 23-MAR-2011 01:14, SaveSYST ==> Dernière : 18-MAR-2011 11:10:08.16 99svpp pas d'information 98pdrt pas d'information 57METZ 22-MAR-2011 23:44, SaveSYST ==> Dernière : 18-MAR-2011 11:17:51.90

Not easy to read... Every lines are on the same line...
The both files look the sames but something is wrong with dec2...Smilie

Do you have any idea to solve this problem?

Thanks for your help!!

Last edited by Franklin52; 03-23-2011 at 06:23 AM.. Reason: Please use code tags
 

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

shell scripts that uses mail/xmail

Hello, i'm wondering is it possible to include the 'notify me' tag which s used with outlook or some web-based email clients that notify you as soon as that user read the email with mail/xmail/sendmail etc. i'm having scripts that sends a daily email to my sysadmins and i wish to know when... (1 Reply)
Discussion started by: Bashar
1 Replies

2. UNIX for Dummies Questions & Answers

Mail/Xmail doesn't work on Solaris 10

Hi again everyone. I have recently installed Solaris 10 on a server. Everything seems to work fine (users can be added and can log in, internet connectivity works, etc). However I'm struggling to get mail or mailx to work. Say there are two users on my server, Bob and Mary. Server hostname... (3 Replies)
Discussion started by: EugeneG
3 Replies

3. Shell Programming and Scripting

Format problem of text file

Folks pardon me for trivial question. After searching the entire forum i decided to post this question. I have a file with some numbers with commas like this 123,456,789 If i open this textfile with either notepad or wordpad they ae looking absolutely fine. When I open this with excel file... (13 Replies)
Discussion started by: repinementer
13 Replies

4. Shell Programming and Scripting

text format

Hi all I need you help to create script get the below output Thanks in advance. Ashan name.txt Wymouth_MRI_Lun79 PACS DR TEMP R drive stat.txt NO Normal Normal Out need Wymouth_MRI_Lun79 NO Normal PACS DR TEMP R drive Normal (1 Reply)
Discussion started by: ashanabey
1 Replies

5. Shell Programming and Scripting

Text Format

I'd like to format a text in unix before mailing it to users. I want to change color and font of my plain text in unix. Thanks.. (1 Reply)
Discussion started by: Sara_84
1 Replies

6. Shell Programming and Scripting

Format problem while converting text file to csv

Hi , I need a help in following scenario.I tried searching in google but couldn't able to find the exact answer. Sorry if i am re-posting already answered query. While i am trying to convert into log file into csv i couldn't able to get the format which i am looking for. I converted file... (4 Replies)
Discussion started by: varmas424
4 Replies

7. Shell Programming and Scripting

Need script for transferring bulk files from one format to text format

"Help Me" Need script for transferring bulk files from one format to text format in a unix server. Please suggest (2 Replies)
Discussion started by: Kranthi Kumar
2 Replies
Locale::Codes::LangExt(3pm)				 Perl Programmers Reference Guide			       Locale::Codes::LangExt(3pm)

NAME
Locale::Codes::LangExt - standard codes for language extension identification SYNOPSIS
use Locale::Codes::LangExt; $lext = code2langext('acm'); # $lext gets 'Mesopotamian Arabic' $code = langext2code('Mesopotamian Arabic'); # $code gets 'acm' @codes = all_langext_codes(); @names = all_langext_names(); DESCRIPTION
The "Locale::Codes::LangExt" module provides access to standard codes used for identifying language extensions, such as those as defined in the IANA language registry. Most of the routines take an optional additional argument which specifies the code set to use. If not specified, the default IANA language registry codes will be used. SUPPORTED CODE SETS
There are several different code sets you can use for identifying language extensions. A code set may be specified using either a name, or a constant that is automatically exported by this module. For example, the two are equivalent: $lext = code2langext('acm','alpha'); $lext = code2langext('acm',LOCALE_LANGEXT_ALPHA); The codesets currently supported are: alpha This is the set of three-letter (lowercase) codes from the IANA language registry, such as 'acm' for Mesopotamian Arabic. This is the default code set. ROUTINES
code2langext ( CODE [,CODESET] ) langext2code ( NAME [,CODESET] ) langext_code2code ( CODE ,CODESET ,CODESET2 ) all_langext_codes ( [CODESET] ) all_langext_names ( [CODESET] ) Locale::Codes::LangExt::rename_langext ( CODE ,NEW_NAME [,CODESET] ) Locale::Codes::LangExt::add_langext ( CODE ,NAME [,CODESET] ) Locale::Codes::LangExt::delete_langext ( CODE [,CODESET] ) Locale::Codes::LangExt::add_langext_alias ( NAME ,NEW_NAME ) Locale::Codes::LangExt::delete_langext_alias ( NAME ) Locale::Codes::LangExt::rename_langext_code ( CODE ,NEW_CODE [,CODESET] ) Locale::Codes::LangExt::add_langext_code_alias ( CODE ,NEW_CODE [,CODESET] ) Locale::Codes::LangExt::delete_langext_code_alias ( CODE [,CODESET] ) These routines are all documented in the Locale::Codes::API man page. SEE ALSO
Locale::Codes The Locale-Codes distribution. Locale::Codes::API The list of functions supported by this module. http://www.iana.org/assignments/language-subtag-registry The IANA language subtag registry. AUTHOR
See Locale::Codes for full author history. Currently maintained by Sullivan Beck (sbeck@cpan.org). COPYRIGHT
Copyright (c) 2011-2013 Sullivan Beck This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.18.2 2013-11-04 Locale::Codes::LangExt(3pm)
All times are GMT -4. The time now is 09:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy