Perplexed

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Bill Jonas
Date:  
Subject: Perplexed
--2Z4DYh21Th0UNJ5x
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Mar 01, 2003 at 03:15:27PM -0700, Michael Havens wrote:
> Would doing this:
>=20
> [bmike1@localhost training]$ uniq test-sor |tee test-sor
>=20
> work for this purpose?


Did you try it and find out? ;-)

I think at best, it could create a zero-length file. At worst, it could
create an infinite loop. Can you spot the race condition? :)

--=20
Bill Jonas    *        *    http://www.billjonas.com/
"It's a dangerous business, Frodo, going out your front door.  You step
into the Road,  and if you don't keep your feet,  there  is  no knowing
where you might be swept off to."  --  Bilbo Baggins


--2Z4DYh21Th0UNJ5x
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+Y6fwdmHcUxFvDL0RAowXAJ9MreuDTKnCKmI5FXmxPUg8k4fTxwCcC3H+
Jlj7z3s6Ame9ALtUZCYdnrc=
=4W89
-----END PGP SIGNATURE-----

--2Z4DYh21Th0UNJ5x--