09-16-2016
When piping into mailx on top of redirecting its stdin, I can't tell for sure which one takes precedence, although a quick test seems to indicate it's the redirection.
Why do you cat myfile.txt into mailx when it's included in mailcontent anyhow?
A quick test with your HTML file as generated shows that it should display properly. Is it possible the problem lies on the receiving side? What be your mail client?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am using vi to edit shell scripts, but whenever I get to the end of the line it goes to the next line, and when I run the script it considers whatever was placed onthe next line a new command...I guess this has to do with word wrap- how do I continue to write on one line? (3 Replies)
Discussion started by: dangral
3 Replies
2. Shell Programming and Scripting
Hi,
This is my first time post a new thread. I have been trying to work on this for the past 2 days and could not find any good solution.
I have 1 long long line ( EDI wrapped file) like below:
NEW*SR*04411763447*279*278*Q~*ZR*AAV*SR*04511763460*SQ*21B37F04~HL*305*304*Q~K~SN1*1*1*SR*05511763461*... (6 Replies)
Discussion started by: vanda_25
6 Replies
3. HP-UX
in my HP-Unix environment I continue to have issues seeing the whole file path when I do a grep
Example:
>ps -ef |grep test
> /testpath/is/here/
should see:
>ps -ef |grep test
> /testpath/is/here/not/here/test
Is there a setting to turn word wrap on/off? It works fine in our AIX... (4 Replies)
Discussion started by: bowtiextreme
4 Replies
4. Shell Programming and Scripting
Hi,
I got some timetable in a file but it is all mixed up like this
01:00 hgrtwhrt #104:00 tyergethr05:00
tqqrthd qrth #107:00 qhtrhqerth10:00 qerthrthqr qtrqthr
qthrrt11:00 thqrthqrthrr
rthgreth #212:00 trhrthrth14:00 wrthwrtwrqrthwrthwr
#2116:00 trqhthtr: rthrthr17:00 rtwhtrhwrth rthwrt... (6 Replies)
Discussion started by: stinkefisch
6 Replies
5. 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
6. Shell Programming and Scripting
Hi
does somebody know how to do a word count in a .html file?
Just the text words, without all the html code.
Thanks (4 Replies)
Discussion started by: louisJ
4 Replies
7. UNIX for Dummies Questions & Answers
When I cat a file that has several hundred characters in a line, the right hand side is truncated. How can I make everything displayed on my screen word wrap? (6 Replies)
Discussion started by: bsimon
6 Replies
8. UNIX for Dummies Questions & Answers
I have an input file like this,
79 #--------------------------------------------------------------------------- 80 #- define generic contact 81 cat > ${NAGIOS_ETC}/contact-generic.cfg <<-'EOF' 82 define contact { 83 name ... (4 Replies)
Discussion started by: ramky79
4 Replies
9. Shell Programming and Scripting
awk/sed newbie here. I have a HTML file and from that file and I would like to retrieve a text word.
<font face=arial size=-1><li><a href=/value_for_clients/Tokyo/abc_process.txt>abc</a> NDK Version: 4.0 </li>
<font face=arial size=-1><li><a... (6 Replies)
Discussion started by: sk2code
6 Replies
10. UNIX for Dummies Questions & Answers
Is there a generic method for applying word wrap to all cells for a .csv file? (6 Replies)
Discussion started by: jimmyf
6 Replies