home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!cc.helsinki.fi!jaakola
- From: jaakola@cc.helsinki.fi
- Newsgroups: comp.unix.sysv386
- Subject: SVR4 batch bug: extra newlines - fixed yet?
- Message-ID: <1992Sep4.195721.1@cc.helsinki.fi>
- Date: 4 Sep 92 17:57:21 GMT
- Sender: news@klaava.Helsinki.FI (Uutis Ankka)
- Organization: University of Helsinki
- Lines: 28
-
- 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!
-
- 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
-