Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: piping question
- X-seq: zsh-workers 33355
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Christian Neukirchen <chneukirchen@xxxxxxxxx>
- Subject: Re: piping question
- Date: Sun, 5 Oct 2014 14:17:49 +0200
- Cc: zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UKWZZq9aYPoN+1bhYnh3MXEDd+rbBP1wz/2GMI6cD4s=; b=rTUMvjHarqmY/+uSNKXNWJy4Z1Q63OLfmcF9yP6/KP9ajgXFFI/ibrueDdEncUeR72 DS09G9gPkfhhlXRv/TQ/qbwzaAu3TTVIz+dRX3xGwvJH2jgTfmZuEbq8fE/woUkmjbpC R6oamrpQdTNzwAuP52G6ZknnS6HeeDCQS8OuwmVFI5f2G+rxGzcGdcgW+xgs2KnwJW5z MZbg0+0UBOsvH3Sog4LCAPIjyiiKVtif4j5qJ6tjkylvo3UZtUsZNNk0PT80wKnPs70l 8/w3qlt4NORdZah9geKgK6sOgd29giyRn8LwrYIScp3nuvHORNwttzcX4Oa5Q7hgZYXc KbOA==
- In-reply-to: <87mw9bu94f.fsf@gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1412259225.3798.0@numa-i> <CAHYJk3Rx9iBLgeeKcnnu4N-56CqsgNyNhJof5+_M8H0Y0BBi9Q@mail.gmail.com> <141003082330.ZM15100__40912.263657856$1412349949$gmane$org@torch.brasslantern.com> <87mw9bu94f.fsf@gmail.com>
On 4 October 2014 17:50, Christian Neukirchen <chneukirchen@xxxxxxxxx> wrote:
> Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> writes:
>
>> On Oct 3, 4:42pm, Mikael Magnusson wrote:
>> }
>> } echo hi there | { xterm -e 'most <& 7' 7< <(cat) }
>>
>> I avoided that because I was concerned that some terminal emulators
>> would close all the descriptors above 2 when launching the command.
>
> Unfortunately, all these hacks don't work with urxvt. If anyone has an
> idea how to do it, I'd like to see.
It works fine for me, the only difference is that it doesn't
automatically invoke the shell for you if you pass something that
isn't an array to pass to execv;
echo hi there | { urxvt -e sh -c 'most <& 7' 7< <(cat) }
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author