Re: print particular lines question

2020-08-24 Thread ToddAndMargo via perl6-users
On Mon, Aug 24, 2020 at 11:08 PM ToddAndMargo via perl6-users wrote: On 2020-08-24 19:35, ToddAndMargo via perl6-users wrote: Hi All, I seems I should know how to do this, but I am drawing a blank. $ cat Lines.txt | raku -ne 'say $_;' Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 Line 7 Line 8

Re: print particular lines question

2020-08-24 Thread Curt Tilmes
$ cat Lines.txt | raku -e '.say for lines()[3,2,5]' On Mon, Aug 24, 2020 at 11:08 PM ToddAndMargo via perl6-users wrote: > > On 2020-08-24 19:35, ToddAndMargo via perl6-users wrote: > > Hi All, > > > > I seems I should know how to do this, but > > I am drawing a blank. > > > > $ cat Lines.txt |

Re: print particular lines question

2020-08-24 Thread ToddAndMargo via perl6-users
On 2020-08-24 19:35, ToddAndMargo via perl6-users wrote: Hi All, I seems I should know how to do this, but I am drawing a blank. $ cat Lines.txt | raku -ne 'say $_;' Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 Line 7 Line 8 Line 9 Line 10 Line 11 I want to print liens 1, 3, and 7. Assigning 

print particular lines question

2020-08-24 Thread ToddAndMargo via perl6-users
Hi All, I seems I should know how to do this, but I am drawing a blank. $ cat Lines.txt | raku -ne 'say $_;' Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 Line 7 Line 8 Line 9 Line 10 Line 11 I want to print liens 1, 3, and 7. Assigning `my @x=$_.lines` puts everything into $x[0] Many thanks,

Re: Readline package

2020-08-24 Thread Daniel ”Fooist” Lathrop
Sorry, that may be wrong... I seem to have fallen into a maze of twisty little passages, all alike as I try to research this. However, I will publish a minimum viable patch to make the REPL happy on MacOS. Sent from my iPhone Daniel Lathrop (@lathropd) Mobile: (206) 718-0349 PGP key: