home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / apollo / 3407 < prev    next >
Encoding:
Internet Message Format  |  1992-08-31  |  1.5 KB

  1. Xref: sparky comp.sys.apollo:3407 comp.sys.hp:9915
  2. Newsgroups: comp.sys.apollo,comp.sys.hp
  3. Path: sparky!uunet!ftpbox!motsrd!zeus.swindon.rtsg.mot.com!kniveton
  4. From: kniveton@zeus.swindon.rtsg.mot.com (Andy Kniveton)
  5. Subject: Re: File-splitter for email
  6. Message-ID: <1992Sep1.071242.17767@cadsun.corp.mot.com>
  7. Sender: news@cadsun.corp.mot.com
  8. Organization: Motorola LTD
  9. References:  <1992Aug28.172903.27023@hns.com>
  10. Date: Tue, 1 Sep 92 07:12:42 GMT
  11. Lines: 41
  12.  
  13. In article <1992Aug28.172903.27023@hns.com>, rtaylor@hns.com (Randy Taylor) writes:
  14. > A freind of mine is looking for a file splitter
  15. > for email.  He is transmitting 100k to 1 Meg
  16. > ASCII files and it seems that most mail programs
  17. > can handle a max "chuck" size of 50 k.
  18. > Any help would be apprecited.  Please reply by email]
  19. > and I'll summarize.
  20. > Randy Taylor
  21. > rtaylor@hns.com
  22.  
  23. Hi,
  24.  
  25. Give this a try :-
  26.  
  27. #!/bin/csh
  28. # splitmail
  29. # useage splitmail file_name email_address
  30. uuencode $1 $1 > $1.uu
  31. split -500 $1.uu spm.uu
  32. foreach i ( spm.uu?? )
  33. /usr/bin/mailx -s $i $2 < $i
  34. rm $i
  35. end
  36. rm $1.uu
  37.  
  38. Andy.
  39. -- 
  40.   _ _ /|      Andy Kniveton,    Tel No    +44 793 545349
  41.   \'o.O'      Motorola Ltd,    Fax No    +44 793 541228
  42.   =(___)=     16 Euro Way,    E-mail    kniveton@zeus.swindon.rtsg.mot.com
  43.      U        Blagrove, Swindon,     uunet!motcid!zeus!kniveton
  44.         England, SN5 8YQ.
  45.  
  46. Has anyone heard the rumors concerning HP's new portable 700 series machine ?
  47.  
  48. I hear that it is small enough to fit in your pocket and is code named Trouser
  49. snake !
  50.                 -- Brian Kelly
  51.