Laurent Bercot <ska-skaw...@skarnet.org> 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.