Bug#2048: Broken pipe from dpkg to head
PACKAGE: dpkg VERSION: 1.0.7 Script started on Mon Dec 18 21:19:37 1995 root:work# dpkg --info less*deb | head -1 old debian package, version 0.939000. Broken pipe root:work# dpkg --info less*deb x root:work# head -1 x old debian package, version 0.939000. root:work# cat x | head -1 old debian package, version 0.939000. root:work# exit Script done on Mon Dec 18 21:20:45 1995 [EMAIL PROTECTED] (Bill Mitchell)
Bug#2048: Broken pipe from dpkg to head
However: [EMAIL PROTECTED]:richard$ ls -l | head -1 total 19792 Broken pipe [EMAIL PROTECTED]:richard$ Bill Mitchell writes: PACKAGE: dpkg VERSION: 1.0.7 Script started on Mon Dec 18 21:19:37 1995 root:work# dpkg --info less*deb | head -1 old debian package, version 0.939000. Broken pipe root:work# dpkg --info less*deb x root:work# head -1 x old debian package, version 0.939000. root:work# cat x | head -1 old debian package, version 0.939000. root:work# exit Script done on Mon Dec 18 21:20:45 1995
Re: Bug#2048: Broken pipe from dpkg to head
Bill Mitchell writes (Bug#2048: Broken pipe from dpkg to head): root:work# dpkg --info less*deb | head -1 old debian package, version 0.939000. Broken pipe Richard Kettlewell writes (Bug#2048: Broken pipe from dpkg to head): [EMAIL PROTECTED]:richard$ ls -l | head -1 total 19792 Broken pipe [EMAIL PROTECTED]:richard$ Quite. I'm marking this as done. RTFM bash(1). Ian.
Re: Bug#2048: Broken pipe from dpkg to head
Ian Jackson [EMAIL PROTECTED] said: RTFM bash(1). Thanks for the pointer, Ian. I'm sure that you thought that it would be very helpful
Re: Bug#2048: Broken pipe from dpkg to head
I think Ian means that if the downstream program exits before the upstream program, you'll get this message. Head is going to do that, it's a feature. I would like to maintain our reputation for gentle answers, thus RTFM should be avoided, and RTFM a 138K document should not be considered an answer :-) . -- Bruce Perens [EMAIL PROTECTED] Pixar Animation Studios