Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: RJSHA1
  • Order by date
  1. RJSHA1

    sending more than one attahment via mailx

    Hi John, Does it matter that one of the files is a pdf file ??? Bob....
  2. RJSHA1

    sending more than one attahment via mailx

    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...
  3. RJSHA1

    sending more than one attahment via mailx

    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 ???
  4. RJSHA1

    sending more than one attahment via 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 ?????
  5. RJSHA1

    WHILE LOOP that won't fail

    Cheers for all the comments guys..
  6. RJSHA1

    replacing a range of characters in Unix

    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
  7. RJSHA1

    replacing a range of characters in Unix

    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
  8. RJSHA1

    replacing a range of characters in Unix

    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...
  9. RJSHA1

    WHILE LOOP that won't fail

    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...
  10. RJSHA1

    deleting a line with awk based on column character positions

    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...
  11. RJSHA1

    XML question - regarding inserting into tables

    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...
  12. RJSHA1

    ORA-01555: snapshot too old - Problem with Rollback Segments?

    Hi there guys, Phew just gone through this post. Does any one know if this 9i Undo tablespace stuff foes stop ORA 01555 from occurring ???
  13. RJSHA1

    Formatting a Number field(s)

    Thanks predamarcel, I was missing the {}'s regards Bob...
  14. RJSHA1

    Formatting a Number field(s)

    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...
  15. RJSHA1

    How move unwanted lines in a file to another file

    Thanks guys the nawk does what I want
  16. RJSHA1

    How move unwanted lines in a file to another file

    Hi there, I have a file like this 1Header 2data 2data 3trailer I want to remove all the data lines, they start with a 2, where columns 31&32 have a value other than zero. The lines have no spaces ie.e. they are all zero filled (so that rules out AWK i think) Does anyone have any...
  17. RJSHA1

    Select frequently used directories from a list

    I liked this idea too - so have a star
  18. RJSHA1

    changing the first occuence in a file using sed

    Hi guys, Both solutions work. Thanks for your help. I have one other question, will the end of line character still be left on the 1st line Once again thanks for the help Regards bob..
  19. RJSHA1

    changing the first occuence in a file using sed

    Hi there, I have a file with the following layout :- Header Data Trailer I want to append a sort code to the hader so that the file looks like this Header123456 Data Trailer I have tried sed 's/$/123456/' file1 > file2 but I get Header123456 Data123456 Trailer123456 What am I doing...
  20. RJSHA1

    Probelm reading a line from a file - value always blank

    Hi Jad, I have worked out a way to do it just as your mail arrived I created a .sql file and got the SHELL script to run it. Thanks for all your help and patience Regards Bob Sharpe

Part and Inventory Search

Back
Top