For those using xclip (xsel, and the like)

# 1. 1--100 LF sep'd; 2. something to ". 
seq -w 100 | xclip  
printf %s\\n '-1 -2 -3' '11 22 33' | xclip 

". ;._1 LF,shell'xclip -o'
there are two other clipboards, would also ease selection, and forgo multiline 
line in the console

Aug 10, 2022, 16:20 by schott.br...@gmail.com:

> Jared's post reminded me how awkward it seems to get multi-line numeric
> data into J. A job that begs for a direct copy/paste requires more, to me.
>
> I realize that the new direct definition feature simplifies this somewhat,
> but I have been looking into this task without such. I don't think the
> reference card would demonstrate the complexity of the (simple?) task I
> suggest below. Do you agree with my observations?
>
> 3+0".every LF cut (0 : 0)
> 2 -7 3
> 4 0 4
> )
> 5 _4 6
> 7  3 7
>

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

Reply via email to