home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / compsrcs / misc / volume08 / wrap.p1 < prev    next >
Encoding:
Internet Message Format  |  1991-08-27  |  1.1 KB

  1. From decwrl!ucbvax!ucsd!swrinde!cs.utexas.edu!uunet!allbery Fri Sep  8 21:39:48 PDT 1989
  2. Article 1068 of comp.sources.misc:
  3. Path: decwrl!ucbvax!ucsd!swrinde!cs.utexas.edu!uunet!allbery
  4. From: allbery@uunet.UU.NET (Brandon S. Allbery - comp.sources.misc)
  5. Newsgroups: comp.sources.misc
  6. Subject: v08i026: Patch for v08i014: line wrapper for BIT/EARNnet mailings
  7. Message-ID: <66796@uunet.UU.NET>
  8. Date: 7 Sep 89 02:00:33 GMT
  9. Sender: allbery@uunet.UU.NET
  10. Reply-To: wsinrobg@urc.tue.nl.UUCP (Rob Gerth)
  11. Organization: Eindhoven University of Technology, The Netherlands
  12. Lines: 20
  13. Approved: allbery@uunet.UU.NET (Brandon S. Allbery - comp.sources.misc)
  14.  
  15. Posting-number: Volume 8, Issue 26
  16. Submitted-by: wsinrobg@urc.tue.nl.UUCP (Rob Gerth)
  17. Archive-name: wrap.p1
  18.  
  19. Here is a patch for a line wrapper I posted some days ago.
  20. I never could count :->
  21. Rob
  22.  
  23. 30c30
  24. < DEFAULT=79
  25. ---
  26. > DEFAULT=80
  27. 49,50c49,50
  28. < if test $LEN -eq 0 
  29. < then    echo "Linelength ($LEN) set to default: `expr $DEFAULT + 1`" 1>&2;
  30. ---
  31. > if test $LEN -le 1 
  32. > then    echo "Linelength ($LEN) set to default: $DEFAULT" 1>&2;
  33. 52a53
  34. > LEN=`expr $LEN - 1`
  35.  
  36.  
  37.