Inspired greetings - thanks Hauke and Raul.  

My own angle (not code) on it is that I read the emails on my iPhone (a little 
tedious) and tried copy/paste of the lines into iOS j - but it didn't work 
because of the IDE...  

So, logging into my Pi4, using Terminus (a terminal emulator Roger D Moore 
would approve of), starting a j session and pasting worked just fine (even 
though Raul's lines were wrapped as displayed in iPhone mail message ;-)

So - my angle is that ....

In the beginning, was the command line.

  http://bpi.1e6.com/files/In_the_Beginning_was_the_Command_Line.pdf

Long live the command line!

And a Happy Holiday Season to all!

- joey

> On 2020 Dec 24, at 10:46 , Raul Miller <[email protected]> wrote:
> 
> Hmm... email often wraps at around 72 characters, and I did not feel
> up to the task of squeezing this into a single line not exceeding that
> limit. However, maybe a two line approximation might still be
> acceptable?
> 
> n=:#z=:(^~<:4){.a.{~({.i.@-)/0 1*&p:5 12
> cutopen(n|-/\.)&.(z&i.)'sxjqzdl abmgoutkkgvaxds'
> 
> Thanks,
> 
> -- 
> Raul
> 
> On Thu, Dec 24, 2020 at 9:41 AM Hauke Rehr <[email protected]> wrote:
>> 
>> my attempt at expressing them in J
>> 
>> greeting =: '+#007';'&+5,670$6';'*';'%.+*2'
>> o =: >./ q: ". > (, , [)&.>/ greeting
>> o =: o + +`*:`%:`<:"0 , $&> |. greeting
>> o (4 : '(+&x)&.(a.&i.)&.> y')"0 greeting
>> 

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to