home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!warwick!uknet!mcsun!sun4nl!pttdis.pttnwb.nl!prso.pttnwb.nl!houten
- From: houten@prso.pttnwb.nl (K. van Houten)
- Newsgroups: comp.sys.hp
- Subject: Re: strange behaviour of tar
- Message-ID: <1992Nov5.154508.18788@pttdis.pttnwb.nl>
- Date: 5 Nov 92 15:45:08 GMT
- References: <5727@esf.esf.de>
- Sender: news@pttdis.pttnwb.nl (The Daily News)
- Organization: PTT Telecom b.v. The Netherlands
- Lines: 31
- Nntp-Posting-Host: ux99.pttnwb.nl
-
- In article <5727@esf.esf.de>, klaus@helsinkiesf.de (Klaus Wicovsky) writes:
- |> I am running the following command:
- |>
- |> tar xvf TARFILE > out 2> err
- |>
- |> and of course I would expect to get any errors, e.g.
- |>
- |> tar: cannot open TARFILE
- |>
- |> in err, while if everything works right, I would expect something like
- |>
- |> x filename, 444 bytes, 1 tape blocks
- |>
- |>
- |> But this is not how it works on my HP 9000/825 !!! If everything works all right, i.e. tar xvf TARFILE extracts the file, my command will print the
- |> x filename, ...
- |> into err rather than out !!!!
-
- What do you expect from the following command:
-
- tar cvf - /dira/dirb > out 2> err
-
- Should the tar output be intermixed with the 'verbose' output?
-
- It is surely specified that all additional output of tar should
- go to stderr.
-
- --
- Karel van Houten, DOMAIN: houten@pttnwb.nl
- PTT Telecom b.v. UUCP: uunet!mcsun!sun4nl!pttdis!houten
- 's-Gravenhage, The Netherlands VOICE: +31 70 3434947
-