03-17-2020
Is there something in the file
Just a first question, but do you know if your file from the first command actually contains anything?
You are appending to my_attachment, but that would be a first thing to look at.
As a 2nd approach, have you tried the same logic in your second line with a known text file?
Ruling out something quirky in the file you built.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have tried to sent a mail with body and attachment. But the shell script got hanging while executing that command. The command is
"(cat body;uuencode att1.csv)|mailx -s "Production Monitoring Report(Unix Side)" milton.yesusundaram@patni.com"
where body is a file having a single line.... (2 Replies)
Discussion started by: miltony
2 Replies
2. Shell Programming and Scripting
Hi
I want to sent attachment file which is 400mb size.(single file, not tar file)
is there any way that these kind of large files can be divided into small sizes and sent as attachments
thanks with anticipation (3 Replies)
Discussion started by: karthikn7974
3 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
Please help me regarding sending mails using mailx command in unix.
I will be glad if some one give me the sintax of this. I tried using the below but vain.
mailx -s 'Hi' 'xyz@abc.com'
Regards,
Manas (5 Replies)
Discussion started by: manas6
5 Replies
4. Shell Programming and Scripting
encoding type for images? (5 Replies)
Discussion started by: biswasbaishali
5 Replies
5. Shell Programming and Scripting
Hi
I need help to send mail through mailx command . Currenlt my program is like
#!/bin/ksh -x
echo " " >> path.lst
MAIL_LIST='someone1@gamil.com someone2@gamil.com someone3@gamil.com'
cat path.lst | mailx -s "path loaction" $MAIL_LIST
echo "End"
exit 0
Its work fine . But i... (3 Replies)
Discussion started by: mani_isha
3 Replies
6. Shell Programming and Scripting
Hi All,
OS:Red Hat Linux 4 86x64
Below is my shell script which is not sending mail to the mail recipient:
#!/bin/bash
export MAILLIST="xyz@yahoo.com"
cd <path_to_the_script_perf_report.sql>
sqlplus / as sysdba @perf_report.sql
if
then
cat <path_to_the_script/*MONTHLY*REPORT*.lst... (6 Replies)
Discussion started by: a1_win
6 Replies
7. Shell Programming and Scripting
How to embed a html file as subject in a mail sending from Linux box with uuencode or mailx or any other way?
we do not want the file as attachment, it should be embedded in the mail subject. (2 Replies)
Discussion started by: johnveslin
2 Replies
8. Shell Programming and Scripting
How Can I send the content of a file in Expect? Do I have to use cat command in a way? if yes how? lets say my file is called 1.txt.
example:
expect "Enter command to send:" {send "???? \r"} ???? --> content of the file 1.txt (1 Reply)
Discussion started by: alireza6485
1 Replies
9. Shell Programming and Scripting
Hi Friends,
Please help me with this problem.
I have a number of split files in a directory. each split files has pdf filenames in it. pdf files are also in the same directory.
I send a mail for each split files present in the directory with the pdf file mentioned in the file.
I have... (4 Replies)
Discussion started by: jcebalaji
4 Replies
10. Shell Programming and Scripting
I use uuencode in UNIX to send an attached .txt file to my e-mail.
The .txt file looks like this:
field_1;field_2;field_3
1;2;3
4;5;6
7;8;9
...
When the mail comes, with the attached file, it looks likt thuis:
field_1;field_2;field_3 ;1;2;3 ;4;5;6 ;7;8;9
The different lines are... (3 Replies)
Discussion started by: katled
3 Replies
spline(1) User Commands spline(1)
NAME
spline - interpolate smooth curve
SYNOPSIS
spline [-aknpx] ...
DESCRIPTION
spline takes pairs of numbers from the standard input as abcissas and ordinates of a function. It produces a similar set, which is approxi-
mately equally spaced and includes the input set, on the standard output. The cubic spline output (R. W. Hamming, Numerical Methods for
Scientists and Engineers,2nd ed., 349ff) has two continuous derivatives, and sufficiently many points to look smooth when plotted, for
example by graph(1).
OPTIONS
-a Supply abscissas automatically (they are missing from the input); spacing is given by the next argument, or is assumed to be 1 if
next argument is not a number.
-k The constant k used in the boundary value computation
(2nd deriv. at end) = k*(2nd deriv. next to end)
is set by the next argument. By default k = 0.
-n Space output points so that approximately n intervals occur between the lower and upper x limits. (Default n = 100.)
-p Make output periodic, that is, match derivatives at ends. First and last input values should normally agree.
-x Next 1 (or 2) arguments are lower (and upper) x limits. Normally these limits are calculated from the data. Automatic abcissas
start at lower limit (default 0).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWesu |
+-----------------------------+-----------------------------+
SEE ALSO
graph(1), attributes(5)
R. W. Hamming, Numerical Methods for Scientists and Engineers, 2nd ed.
DIAGNOSTICS
When data is not strictly monotonic in x, spline reproduces the input without interpolating extra points.
BUGS
A limit of 1000 input points is enforced silently.
SunOS 5.10 14 Sep 1992 spline(1)