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

From: Profpatsch <>
Date: Thu, 26 Jul 2018 14:30:51 +0200

Laurent Bercot <> writes:

>>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 `<`.
> "redirfd -r 0 $file s6-cat" will print $file to stdout.

oooh, that’s a powerful command. Dunno how I missed that,
I think I was too focused on finding something less general.

I think I might start writing a FAQ for these things.

Written with Emacs (mu4e) on NixOS.
Q: Why is this email five sentences or less?
May take up to five days to read your message. If it’s urgent, call me.
Received on Thu Jul 26 2018 - 12:30:51 UTC

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