home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / sysv386 / 14043 < prev    next >
Encoding:
Internet Message Format  |  1992-09-04  |  1.6 KB

  1. Path: sparky!uunet!ogicse!hp-cv!sdd.hp.com!swrinde!news.dell.com!mustang!jrh
  2. From: jrh@mustang.dell.com (Randy Howard)
  3. Newsgroups: comp.unix.sysv386
  4. Subject: Re: SVR4 batch bug: extra newlines - fixed yet?
  5. Message-ID: <jrh.715630665@mustang>
  6. Date: 4 Sep 92 18:17:45 GMT
  7. Article-I.D.: mustang.jrh.715630665
  8. References: <1992Sep4.195721.1@cc.helsinki.fi>
  9. Sender: news@raid.dell.com (Net News Admin)
  10. Organization: Dell Computer Co
  11. Lines: 38
  12. Nntp-Posting-Host: mustang.dell.com
  13.  
  14. jaakola@cc.helsinki.fi writes:
  15.  
  16. >I have discovered the following new "feature" in ICL's SVR4 port and
  17. >Unisys's SVR4 port too. Try this:
  18.  
  19. >batch <<EOF
  20. >cat > bug-results <<EOT
  21. >line 1
  22. >line 2
  23. >line 3
  24. >EOT
  25. >EOF
  26.  
  27. >(you can use at in place of batch)
  28.  
  29. >When I run this on ICL and Unisys SVR4 machines, the file bug-results
  30. >contains the three lines as expected, BUT THERE ARE SEVERAL EXTRA
  31. >NEWLINES - THE FILE bug-results CONTAINS 7 LINES INSTEAD OF JUST THREE!
  32.  
  33. I just tried this on Dell SVR4v4 (Issue 2.2) and it produces the desired
  34. three lines of output.
  35.  
  36. >The above works OK in SVR3 and HP-UX.
  37.  
  38. >Have you confirmed this behaviour? Is this fixed in new versions? Sorry,
  39. >I can't recall the exact versions right now. I have a workaround-kludge
  40. >for this, but I would like to do it with the here-document.
  41.  
  42. >Is there a FAQ of SVR4 tools bugs? (yes, I have seen the USL kernel bug
  43. >FAQ)
  44. >--
  45. >Juhani Jaakola
  46. >jaakola@cc.helsinki.fi
  47. -- 
  48. Randy Howard            _o        @'s: jrh@dell.com
  49. Dell Computer Corp.     \<,        !'s: ...!uunet!dellunix!jrh
  50. ______________________()/ ()______________________________________________
  51. "Univel"... Just Say "NoNIX"
  52.