Just want to elaborate on the two different ways of combining statements
mentioned earlier.
1A. If you're using `-pe` command line flags, you use `s///` and combine
statements with `;` semicolon:
~$ echo 'roses are red' | raku -pe 's/roses/lilacs/; s/red/blue/'
lilacs are blue
1B. Using
Todd,
You could use Elizabeth Mattijsen's App-rak. It's a Raku utility that
does grep, sed, awk.
Richard
On 20/01/2024 10:53, ToddAndMargo via perl6-users wrote:
On 1/20/24 01:42, William Michels via perl6-users wrote:
On Jan 19, 2024, at 23:49, ToddAndMargo via perl6-users
wrote:
Hi
On 1/20/24 01:42, William Michels via perl6-users wrote:
On Jan 19, 2024, at 23:49, ToddAndMargo via perl6-users
wrote:
Hi All,
Can I do a run on line with a regex like I
just did with sed?
$ zbarimg Screenshot.png | sed -e 's/.*?secret=//' -e 's/&.*//'
Usually I just do two lines in
> On Jan 19, 2024, at 23:49, ToddAndMargo via perl6-users
> wrote:
>
> Hi All,
>
> Can I do a run on line with a regex like I
> just did with sed?
>
> $ zbarimg Screenshot.png | sed -e 's/.*?secret=//' -e 's/&.*//'
>
> Usually I just do two lines in Raku.
>
> Many thanks,
> -T
Hi Todd,
Hi All,
Can I do a run on line with a regex like I
just did with sed?
$ zbarimg Screenshot.png | sed -e 's/.*?secret=//' -e 's/&.*//'
Usually I just do two lines in Raku.
Many thanks,
-T