hello William,

On Sat, Sep 03, 2022 at 04:27:04PM -0700, William Michels wrote:
> Hi Marc, There's also this conversation from March 2021 on the mailing list:
> https://www.nntp.perl.org/group/perl.perl6.users/2021/03/msg9857.html
> [Matthew's answer looks very interesting].

Interesting as it can provide a relative short solution with no advanced
concept. I tried this line but got an immutability problem. I tried
multiple work around with no success for the moment.

<<. raku -e 'lines.IO.map: {repeat {.put} while not .=parent ~~ "/" }'
/var/log/messages

thank you

-- 
Marc Chantreux
Pôle de Calcul et Services Avancés à la Recherche (CESAR)
http://annuaire.unistra.fr/p/20200

Reply via email to