> On 4 Aug 2022, at 14:38, Marc Chantreux <[email protected]> wrote:
> It would be nice to define a backtrick operator (like in rc) so we
> could write
>
> my @installed-files =
> grep *.IO.f,
> map *.trim,
> `< dpkg-query -f ${db-fsys:Files} -W gnuplot* >;
>
> insead of
>
> my @installed-files =
> grep *.IO.f,
> map *.trim,
> ( run :out, < dpkg-query -f ${db-fsys:Files} -W gnuplot* > ).out.lines;
sub prefix:<`>(*@a) { (run @a, :out).out.lines }
dd ` <ls>;
("Changes", "LICENSE", "META6.json", "README.md", "bin", "dist.ini", "lib",
"releases", "resources", "run-tests", "t").Seq
Liz