home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / hp / 12580 < prev    next >
Encoding:
Internet Message Format  |  1992-11-05  |  1.4 KB

  1. Path: sparky!uunet!pipex!warwick!uknet!mcsun!sun4nl!pttdis.pttnwb.nl!prso.pttnwb.nl!houten
  2. From: houten@prso.pttnwb.nl (K. van Houten)
  3. Newsgroups: comp.sys.hp
  4. Subject: Re: strange behaviour of tar
  5. Message-ID: <1992Nov5.154508.18788@pttdis.pttnwb.nl>
  6. Date: 5 Nov 92 15:45:08 GMT
  7. References: <5727@esf.esf.de>
  8. Sender: news@pttdis.pttnwb.nl (The Daily News)
  9. Organization: PTT Telecom b.v. The Netherlands
  10. Lines: 31
  11. Nntp-Posting-Host: ux99.pttnwb.nl
  12.  
  13. In article <5727@esf.esf.de>, klaus@helsinkiesf.de (Klaus Wicovsky) writes:
  14. |> I am running the following command:
  15. |> 
  16. |>     tar xvf TARFILE > out 2> err
  17. |> 
  18. |> and of course I would expect to get any errors, e.g. 
  19. |> 
  20. |>     tar: cannot open TARFILE
  21. |> 
  22. |> in err, while if everything works right, I would expect something like
  23. |> 
  24. |>     x filename, 444 bytes, 1 tape blocks
  25. |> 
  26. |> 
  27. |> 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
  28. |> x filename, ...
  29. |> into err rather than out !!!!
  30.  
  31. What do you expect from the following command:
  32.  
  33.     tar cvf - /dira/dirb > out 2> err
  34.  
  35. Should the tar output be intermixed with the 'verbose' output?
  36.  
  37. It is surely specified that all additional output of tar should
  38. go to stderr.
  39.  
  40. -- 
  41. Karel van Houten,         DOMAIN:    houten@pttnwb.nl
  42. PTT Telecom b.v.        UUCP:    uunet!mcsun!sun4nl!pttdis!houten
  43. 's-Gravenhage, The Netherlands    VOICE:    +31 70 3434947
  44.