Hi john,
Thi is my code -
uuencode repfile repfile.doc > RESPREP
cat RESPREP | mailx -r $CCRECEIP -s "AFT User $USER $CTM_ODATE AFT Input Response" $CCRECEIP $RECEIP
What do I need to add in to send the second attachment...
Hi john,
Sorry I'm being silly here surely the the -s is the subject line option, I can't see how you would get two files created from the second section of code.
also I have the two files created - why is there a pipe in the script before the mailx ???
Hi there,
I have been looking through the forum at how to use mailx to send an attachment to an e-mail user and the fact that you need to use uuencode to uncode the mail, but how would I send two attachments in the one e-mail; is it possible ?????
Sorry PHV
Can I do someting like this
tr -d ![A..Z] [a..z] [0..9] [%^] filename > filename2
I want all the characters that are not in the ranges above to be replaced with spaces
Sorry PHV
Can I do someting like this
tr -d ![A..Z] [a..z] [0..9] [%^] filename > filename2
I want all the characters that are not in the ranges above to be replaced eith spaces
Hi there,
I have a to write a script where if data in a file is not one of the following types of data e.g. 0-9 or A..Z or a..z or $,^& then I replace it with spaces. I know that SED is probably the best way to do it, but I'm struggling wit the syntax can any one help please
Ta
Bob...
Loops in Unix seem to be the bane of my life. Can someone put me out of my misery and tell me what I am doing wrong in the code below. As I cannot get it to fail and exit the loop
ls $CTM_FTPIN | grep trigger | grep > filelist
while [ -s $filelist ]; do
do some coding here
nawk -v...
Hi there,
I'm trying to write an AWK script where I have three variables that I pass to the script search a file for a line where the data in the columns matches what is passed in.
The data looks like this :-
aftn3200aftn3220CQA1-00000168.trigger
aftn3200aftn3220CQA1-00000169.trigger...
Hi there,
I working on a project where we get an XML file and we have to put EACH field in the XML schema in a cloumn of a table. All the solutions I have seen invloved created a CLOB parsing the schema into the CLOB and then querying the CLOB.
This is not really what I want - does any...
Hi there,
I have two variables COUNT and AMOUNT (I know original variable names), I want to format these two variables so that they have leading zeroes and I then want to add them to a file.
I cannot get the variables to have leading zeroes I'm using the following command what am I doing wrong...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.