home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!hp-cv!sdd.hp.com!swrinde!news.dell.com!mustang!jrh
- From: jrh@mustang.dell.com (Randy Howard)
- Newsgroups: comp.unix.sysv386
- Subject: Re: SVR4 batch bug: extra newlines - fixed yet?
- Message-ID: <jrh.715630665@mustang>
- Date: 4 Sep 92 18:17:45 GMT
- Article-I.D.: mustang.jrh.715630665
- References: <1992Sep4.195721.1@cc.helsinki.fi>
- Sender: news@raid.dell.com (Net News Admin)
- Organization: Dell Computer Co
- Lines: 38
- Nntp-Posting-Host: mustang.dell.com
-
- jaakola@cc.helsinki.fi writes:
-
- >I have discovered the following new "feature" in ICL's SVR4 port and
- >Unisys's SVR4 port too. Try this:
-
- >batch <<EOF
- >cat > bug-results <<EOT
- >line 1
- >line 2
- >line 3
- >EOT
- >EOF
-
- >(you can use at in place of batch)
-
- >When I run this on ICL and Unisys SVR4 machines, the file bug-results
- >contains the three lines as expected, BUT THERE ARE SEVERAL EXTRA
- >NEWLINES - THE FILE bug-results CONTAINS 7 LINES INSTEAD OF JUST THREE!
-
- I just tried this on Dell SVR4v4 (Issue 2.2) and it produces the desired
- three lines of output.
-
- >The above works OK in SVR3 and HP-UX.
-
- >Have you confirmed this behaviour? Is this fixed in new versions? Sorry,
- >I can't recall the exact versions right now. I have a workaround-kludge
- >for this, but I would like to do it with the here-document.
-
- >Is there a FAQ of SVR4 tools bugs? (yes, I have seen the USL kernel bug
- >FAQ)
- >--
- >Juhani Jaakola
- >jaakola@cc.helsinki.fi
- --
- Randy Howard _o @'s: jrh@dell.com
- Dell Computer Corp. \<, !'s: ...!uunet!dellunix!jrh
- ______________________()/ ()______________________________________________
- "Univel"... Just Say "NoNIX"
-