Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: <(cat) doesn't work but =(cat) does ?
- X-seq: zsh-users 13290
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: <(cat) doesn't work but =(cat) does ?
- Date: Fri, 26 Sep 2008 20:07:01 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=pzSHAqPCcMUFzDLXOFl2XwTf9PpedV79EkpmE05QKK4=; b=cLqJZYV8Sv2Lxvt/eJu7IymelFFw416I1QUMgJZ0qZzgK77XSJYwz+s6TAQZMrMp9R U+pno3Z9itf+T2chJjbQY44HPZ75cJrpmK3DIYatUP3eVdyiQH7Is8Nbs/FHd1QV8SHN DvzlhCQauAMmDO5lx6E8YtwIOC2oANi3pVlCY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=x7aWVToi/sbMgxa5MZsUvV4rxzyYlFFrwm6LBulUQEtJC2lFIpe78ju3isHomlw78/ hcS7zM/2eHSq7mpyBK2JbQ7lRNXBNiV1uHeM0xCi7bCnVYmvEeiEEyrvR8V3zr28MKpp tyYoxeDEDbbMyVomr9eG1gOLTtYyi3ccILGBY=
- In-reply-to: <20080926173052.GA30725@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20080926173052.GA30725@xxxxxxxxxx>
2008/9/26 Louis-David Mitterrand <vindex+lists-zsh-users@xxxxxxxxxxx>:
> Hi,
>
> when trying this:
>
> % ssh remotehost "transmission-remote -a <(cat)" < ~/torrent.file
>
> I get this error:
>
> Couldn't read "/proc/self/fd/11": Not a regular file
> Couldn't add file: /proc/self/fd/11
>
> However when using:
>
> % ssh remotehost "transmission-remote -a =(cat)" < ~/torrent.file
>
> all is well.
>
> Why doesn't the first form work?
Presumably for the reasons stated by the program. <() gives you a symlink
to an fd, while =() gives you a temporary file in /tmp which is seekable
and all that.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author