On Wed, May 15, 2019 at 02:33:45PM -0400, Ted Unangst wrote:
> Otto Moerbeek wrote:
> > We're computing modulo 26 here. Negative numbers have a positive
> > equivalent. So you diff adds code for no benefit.
>
> I think the amount of code added is an acceptable cost for improved user
> experience.
Otto Moerbeek wrote:
> We're computing modulo 26 here. Negative numbers have a positive
> equivalent. So you diff adds code for no benefit.
I think the amount of code added is an acceptable cost for improved user
experience. We could use this argument to remove subtraction from bc, but that
would
Hi,
tleguern wrote on Wed, May 15, 2019 at 03:36:57PM +0100:
> This little patch makes caesar(6) useful at both encrypting and
> decrypting texts by allowing a negative rotation.
Committed, thanks.
> A similar patch was proposed by Dieter Rauschenberger in 2008 with
> little response
Well, it'
On Wed, May 15, 2019 at 03:36:57PM +0100, tleguern wrote:
> Hi,
>
> This little patch makes caesar(6) useful at both encrypting and
> decrypting texts by allowing a negative rotation.
>
> Example:
>
> $ echo Ceci est un test | caesar 10
> Moms ocd ex docd
> $ echo Ceci est un test | caesar 10 |
Hi,
This little patch makes caesar(6) useful at both encrypting and
decrypting texts by allowing a negative rotation.
Example:
$ echo Ceci est un test | caesar 10
Moms ocd ex docd
$ echo Ceci est un test | caesar 10 | caesar -10
Ceci est un test
A similar patch was proposed by Dieter Rauschenbe