Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Oct 2014 10:43:33 -0400
From:      Allan Jude <allanjude@freebsd.org>
To:        rank1seeker@gmail.com, freebsd-hackers@freebsd.org
Subject:   Re: tar behavior 9.* -> 10.*
Message-ID:  <544A6595.2070204@freebsd.org>
In-Reply-To: <20141024141552.000048ac@gmail.com>
References:  <20141024141552.000048ac@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--836KVKkt9jNBMe1IUUViDkJ3ngT11f5NQ
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 2014-10-24 08:15, rank1seeker@gmail.com wrote:
> https://forums.freebsd.org/threads/tar-errors-when-file-content-extract=
ed-to-stdout-is-piped.48626/
>=20
> Bug?
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.o=
rg"
>=20

What happens if you pipe it to something that doesn't close the pipe
prematurely

try:

tar ... | cat -

It makes sense that it throws an error when you pipe to head, which then
closes the pipe before the file has finished being written.

--=20
Allan Jude


--836KVKkt9jNBMe1IUUViDkJ3ngT11f5NQ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQIcBAEBAgAGBQJUSmWeAAoJEJrBFpNRJZKf5cAP/A3P8B7AqHuQQDzv7INpoNg7
hPUhiUkymg7FSi2hsxlT9WGSXiXemgGWsn0FkzkQY6ndVfyqPEHpZQd1YHPvtf67
h/yR/E3zj+joQLijRhTYEDds739eSOzjbeQyopjcvRZMLvOax9JuXuDhevWZt0D7
P40bVAGbRKQDnecAwod4uA6YNGtErie2FzWfzxePnmEwF7R6B889hr2eDZck7sW/
8glwVL5tyUi5MIodqixAtaxacOkEn63PqmJfZPyI5h5ph3U23+oEUOIU+lz+xC12
jesIOKAV1lMukiRea9/vfI5L2/teA8Os/L1DVFpHlPXniLzIRY+If2Bzpl5Xvnb9
wlfPMvEX+8W5oT0fMjZXTlFt3T4uxFmlwXEhzsojjl09wSFRXKxm5RP+uV1QCfv5
4PMDQOGJo/+rRh5NzbO/VjnQ1KoAsXuuFW+8BLoTjW60AJ76RuRH+muLnmyHpaqG
bhMA4LIw9BaJTfLJi9awlrilfEVfMFm89PJ0xdNgTUbD02IWKJ0bQJ6F3bP9Un0Q
D45IaGbEoOXUR5rZwxWlG3tndgQJsG/uy0KaavK7/YSw2fwtthxBvITSc1N2BtgO
nzQyHjCVuZ5qzNKxpMsdfRdR7EMJAlkVdHgRDCEHFpaPdUMcTi6s0k35AJ0dOsKj
T5lVWJIJG8XOnvjh53ix
=t1Gj
-----END PGP SIGNATURE-----

--836KVKkt9jNBMe1IUUViDkJ3ngT11f5NQ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?544A6595.2070204>