read fd6 in execline

From: Matthias Teege <matthias-skaware_at_mteege.de>
Date: Sat, 11 Oct 2014 11:34:02 +0200

Hello,

I try to replace the following sequence with execline:

tcpclient -RHl0 -T1 127.0.0.1 25 sh -c 'exec head -n 1 <&6'

First try:

tcpclient -RHl0 -T1 127.0.0.1 25 foreground { head -n 1 ...

Hmm ... How do I read FD6 with execline?

Thanks
Matthias
Received on Sat Oct 11 2014 - 09:34:02 UTC

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