On 08/10/2018 08:59 PM, ToddAndMargo wrote:
On Fri, Aug 10, 2018 at 8:16 PM, ToddAndMargo
wrote:
Hi All,
I was thinking of doing a
$ p6 'my $x="a\nb\nc\nd\n"; say "$x\n"; $x ~~ s/ .*?c /c/; say "$x";'
a
b
c
d
c
d
Except the real deal will be across 1460 lines. Am I pushing the
limits?
On 08/10/2018 09:22 PM, Simon Proctor wrote:
It's 5am and I should be asleep but I think this is a perfect case for
ff then.
Check out the docs for it.
Hi Simon,
I am not following. :'(
https://docs.perl6.org/routine/ff
-T
It's 5am and I should be asleep but I think this is a perfect case for ff
then.
Check out the docs for it.
On Sat, 11 Aug 2018, 05:01 ToddAndMargo, wrote:
> On 08/10/2018 08:56 PM, Simon Proctor wrote:
> > If all you are wanting to do is print the lines after a certain point in
> > the file the
On 08/10/2018 08:56 PM, Simon Proctor wrote:
If all you are wanting to do is print the lines after a certain point in
the file the ff operator might be what you're looking for.
See my response to Yary to see what I am after.
Thank you!
On Fri, Aug 10, 2018 at 8:16 PM, ToddAndMargo wrote:
Hi All,
I was thinking of doing a
$ p6 'my $x="a\nb\nc\nd\n"; say "$x\n"; $x ~~ s/ .*?c /c/; say "$x";'
a
b
c
d
c
d
Except the real deal will be across 1460 lines. Am I pushing the
limits?
There are other ways of doing what I want.
1460 lines, at an average of say, oh, 70 characters per line, that's
oh 100k or so? Sounds like a piece of cake... try it and see
-y
On Fri, Aug 10, 2018 at 8:16 PM, ToddAndMargo wrote:
> Hi All,
>
> I was thinking of doing a
>
> $ p6 'my $x="a\nb\nc\nd\n"; say "$x\n"; $x ~~ s/ .*?c /c/; say "$x
Hi All,
I was thinking of doing a
$ p6 'my $x="a\nb\nc\nd\n"; say "$x\n"; $x ~~ s/ .*?c /c/; say "$x";'
a
b
c
d
c
d
Except the real deal will be across 1460 lines. Am I pushing the
limits?
There are other ways of doing what I want.
Many thanks,
-T