![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What's wrong with this sed command? delete & append | minifish | Shell Programming and Scripting | 5 | 04-08-2008 10:34 PM |
| Append 0 for single digit entered from command line | namishtiwari | UNIX for Dummies Questions & Answers | 2 | 08-24-2007 06:01 AM |
| append file with tar command | mbakry23 | AIX | 3 | 08-07-2007 06:27 PM |
| How to append "spaces" between strings | efernandes | UNIX for Dummies Questions & Answers | 2 | 01-23-2007 11:48 PM |
| Append strings with filler spaces | handak9 | UNIX for Dummies Questions & Answers | 1 | 08-11-2005 11:51 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Need help with command to append strings
Greetings all,
I'm in need of some help in coming up with this command which requires me to append 5 strings together: 1. echo "Status from system:" 2. `cat logs.txt` (i need the output of this command) 3. echo "Error output: " 4. `cat errors.txt`(i need the output of this command) 5. echo "Thank you" How can I append all five strings together? I'm interested in doing this and then piping the command over to mailx to construct my message body. Thanks a bunch. ![]() |
|
||||
|
or Code:
mailx -vs "subject" blah@here.com <<EOF results: `cat res.ttxt` errors: `cat errors.txt` EOF |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|