Re: execline, s6-portable-utils: print a file to stdout

From: Laurent Bercot <ska-skaware_at_skarnet.org>
Date: Wed, 25 Jul 2018 00:18:51 +0000

>I haven’t found a way to print a file to stdout with either
>execline nor s6-portable-utils. The `s6-cat` utility only
>echoes stuff that is already coming from stdin,
>and unlike the shell, execline doesn’t have `<`.

  https://skarnet.org/software/execline/redirfd.html

  "redirfd -r 0 $file s6-cat" will print $file to stdout.

--
  Laurent
Received on Wed Jul 25 2018 - 00:18:51 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC