From [email protected] Sat Oct 6 01:44:14 2018
From: Greg Troxel <[email protected]>
To: Kathe <[email protected]>
Cc: [email protected]
Subject: Re: why crypt in ed?
OpenPGP: id=098ED60E
X-Hashcash: 1:20:181006:[email protected]::mUTxJ2XdGvms+ndz:00000dUO
X-Hashcash:
1:20:181006:[email protected]::G51aE9AREw7cMNqA:000000000000000000000000000000000000000CNu
Date: Fri, 05 Oct 2018 21:38:54 -0400
Kathe <[email protected]> writes:
> just noticed, there is a crypt function in /bin/ed
> and consequently /bin/ed is linked to the crypt lib.
> may i know why? this somehow goes against the unix
> philosophy of one small tool doing a small task but
> doing it well. why do we need a swiss army knife? :)
A question that immediately comes to mind is how long it has been there.
Often, features date from Seventh Edition, Sixth, or even earlier. The
ed(1) man page says it appeared in First Edition; I can only say it was
there in Sixth.
Man page archaeology says that the -x feature was added in Seventh
Edition:
http://man.cat-v.org/unix_6th/1/ed
http://man.cat-v.org/unix_7th/1/ed
The BSD way is to respect tradition, absent a compelling reason.
isn't having a tightly built ed a compelling reason enough?
btw, why is /bin/ed dynamically linked?
wouldn't it need to be usable even under extreme conditions?
just my inexperience showing! ;)