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 Chris Miller 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: *

  1. guzler

    Logic within for loop

    Should I do this logic within the for loop .. Can I use a if statement inside the for loop .. How do I do that .. This is what I need .. for e in * if not equal to file extension then do unix2dos $e $e uuencode $e $e fi done| mailx -s "$subject" $address Thanks in Advance Sridhar
  2. guzler

    Logic within for loop

    Hello All, I have script wherein I am sending an email with multiple attachments. If the the file is of .gz then I don't have to anything else I have to do a unix2dos .. How do I do this .. Here is the script charset=us-ascii;export charset for e in * do unix2dos $e $e uuencode $e $e done|...
  3. guzler

    How to check the value of a argument

    Hello, How do I check the value of argument? If it is not null only then I need to pass this into my script .. In a ftp script I have to put the datafile into a specific directory. If the directory is not given then it should put it in the common directory .. how do I this .. { id=$5 un=$6...
  4. guzler

    How to send multiple attachments in a single email

    SamBones If I want to pass (uuencode file1.txt file1.doc uuencode file2.txt file2.doc) in an argument how will I do it .. for example my script will look like this .. #!/usr/bin/ksh arg1='uuencode file1.txt file1.doc; uuencode file2.txt file2.doc' ($arg1) |mailx -s 'Test' name@email.com...
  5. guzler

    How to zip files in UNIX

    I tried both ASCII and BINARy modes it nis still the same ..
  6. guzler

    How to zip files in UNIX

    I did unzip it and it still shows up the same ..
  7. guzler

    How to zip files in UNIX

    appi I did try gzip -9 filename.txt and When I ftp back to WINDOWS I am not able to view the file .. I see all funky characters .. How do I resolve this .. Thanks in advance ..
  8. guzler

    How to zip files in UNIX

    Will this syntax work gzip file1.txt .. Also How do send the zip files in an e-mail .. Thanks in advance
  9. guzler

    How to zip files in UNIX

    Hello, Can anyone help me with the right syntax .. Thanks,
  10. guzler

    How to send multiple attachments in a single email

    Hello, I need to send as many files as attchments in a single email. I have used (uuencode file1.txt file2.doc; uuencode file2.txt file2.doc) | mailx -s 'Test' name@email.com Here I am passing the entire uuencode(whatever is in the bracket) as one string from a pl/sql program .. how do I do...

Part and Inventory Search

Back
Top