12-19-2005
Well, I gave up on the dist list.
Instead I wrote a script that extracted the first field of the passwd file, then sent my all_users message to the contents of the extracted file. Works like a charm.
Thanks for your efforts.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi, I am trying to include a message along with an attachment with an email using mailx on AIX.
uuencode Test.dat Test.dat| mailx -s 'Testing' mymail@yahoo.com < MESGFILE
This only gives me the contents of MESGFILE as my message.
If I remove the < FILE I recieve the attachment.
What... (4 Replies)
Discussion started by: edog
4 Replies
2. UNIX for Dummies Questions & Answers
If I use the "Mail" link instead of the "mail" link to ../mailx I get this error.
Mail so-n-so @whatever.com
mailx: NUL changed to @
Unknown command: "postmaster"
The email still goes through but i get the error.
If I use "mail" it goes thru without the error.
Any ideas?? (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
3. Shell Programming and Scripting
Hi all,
Think this is a pretty simple problem, but I've been thinking about it for a few days. Let's say that I'm going to have to output the contents of a file as the body of a mailx message.
I'll probably do this: cat <filename> | mailx <extra commands>
However, how do I go about doing... (1 Reply)
Discussion started by: rockysfr
1 Replies
4. Shell Programming and Scripting
Hi All,
I am trying to send a mail with an attachment and message. Following command I am using.
(cat <messagefile> ; uuencode <attachmentfile> <attachmentfile>)|mailx -s"Subject" dave@email.com
In the received mail, message body is appearing fine. But attachment is not coming. Rather... (2 Replies)
Discussion started by: nihar.dutta
2 Replies
5. Shell Programming and Scripting
Hi,
I have a file with 2 records in two lines. While mailing these two records using mailx command, those two records coming in a single line. I have used the following command to send those records via mail.
cat filename | mailx -s "subject" mailaddress
I want the two records in... (3 Replies)
Discussion started by: siri_886
3 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Is there a way to suppress this message?
Null message body; hope that's ok
My email string is:
mailx -s "This is my subject" myemail@domain.com < /dev/null
It's just an annoyance to me that I would like see go away. (3 Replies)
Discussion started by: bbbngowc
3 Replies
7. UNIX for Dummies Questions & Answers
Guys,
Is it possible to get a delivery status message like success/faliure notification after sending a mail using mailx.
-v option can be used to get the message failure notification if any..
is there any option to get the message success notification? (0 Replies)
Discussion started by: manoharg
0 Replies
8. Shell Programming and Scripting
<html>
<body style=background-color:AliceBlue>
<p>Hi,<pre>please check the connectivity status of the server. <pre>
And find the server log file for more details. </p>
<h1><font size="4">SERVER <font color="red">111.111.11.1</font> IS NOT AVAILABLE IN ONLINE</font></h1>
<font color="red"... (5 Replies)
Discussion started by: jothi basu
5 Replies
9. Shell Programming and Scripting
i have to attach the 'body in the email' along with attachment below code is throwing errors, how can i do it ?
here body file contains message, it should display in email, please help
i am using HP-UX
(cat body ;) (uuencode attch1 attch1 ;) | mailx -m -s "testing" "abc@gmail.com"
... (4 Replies)
Discussion started by: only4satish
4 Replies
10. Solaris
I have recently all of a sudden stopped receiving my cronjob messages that were being sent with the mailx command. I have not made any changes and it is affecting all my servers at this site only (all running Solaris 10). At my other site I am running a mixture of Solaris 10 and Ubuntu 14, and they... (2 Replies)
Discussion started by: Madrox72
2 Replies
LEARN ABOUT DEBIAN
xview_xgettext
xgettext(1) General Commands Manual xgettext(1)
NAME
xgettext - conditionally extract strings from C programs
SYNOPSIS
xgettext -d [ cmnopvhP ] [ -odirectory-prefix ] [ -xexclude-list ] [ filename ... ]
xgettext [ -amopvhP ] [ -xexclude-list ] [ filename ... ]
DESCRIPTION
xgettext is used to automate the creation of portable message files. A portable message file contains copies of "C" strings that are found
in "C" source code in filename. When the -d option is specified, xgettext places the extracted strings in the file name.po. name is
either the domain specified in a dgettext call, or messages.po for strings extracted from gettext and textdomain calls. If the -d flag is
not specified, xgettext places all the strings in messages.po. The portable message file can be used as input to the msgfmt(1) utility,
which will produce a binary form of the message file than can be used at application run-time.
OPTIONS
-a Extract ALL strings, not just those found in gettext, dgettext, and textdomain calls.
-cflag Comments beginning with flag filename on the first line of the comment are added to file filename as # delimited comments.
-d Produce duplicates. Does not sort output when writing the portable message file and will not overwrite existing output files.
Places output from each domain specified in a dgettext call into a separate file named for the domain, ie. name.po
-cflag Comments beginning with flag filename on the first line of the comment are added to file filename as # delimited comments.
-mstring Causes xgettext to fill in the msgstr line of the portable message files it produces. xgettext uses the corresponding msgid
string extracted from the "C" file, appending string. Useful for debugging purposes.
-n Add # delimited line number comments to output file indicating the line number in the source file where each extracted string is
encountered.
-ofilename
rename the default output file from messages.po to filename.
-ppathname
Specify the directory where the output files will be placed. This option overrides the current working directory.
-xfilename
Specify a file that contains a list of strings that are not be extracted from the input files. Each string to be excluded must
appear on a line by itself in the file filename.
-P include strings in pre-processor statements.
-v Verbose mode.
-h Print a help message on standard output.
FILES
messages.po is always created, but may be empty.
SEE ALSO
msgfmt(1), xstr(1), gettext, dgettext, textdomain(3).
14 Sep 1990 xgettext(1)