Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Spider Boardman <spider@orb.dynalias.net>
Subject: Re: /dev/stdin ....  ?
Date: Mon, 22 Dec 2003 16:32:02 -0500	[thread overview]
Message-ID: <3fe762d5$0$4740$61fed72c@news.rcn.com> (raw)
In-Reply-To: <efbd1d5e.0312221147.57aecc0@posting.google.com>

Barth Weishoff wrote:
> Hello group,
> 
>   I've run this by HP, and they can't seem to come up with a clear
> answer.   Anyway, long story short, I've been using here documents
> with OpenSSH's SFTP program to transfer files among hosts.  Example
> (stolen from http://www.snailbook.com/faq/scripting-sftp.auto.html )
> 
>    #!/bin/sh
>   echo "OK, starting now..."
>   sftp -b /dev/stdin remotehost <<EOF
>   cd pub
>   ...
....
> 
> Does anyone have any idea how to accomplish this under Tru64?  Thanks!

mount -t fdfs /dev/fd /dev/fd
ln -s fd/0 /dev/stdin

Adjust /etc/fstab appropriately.  See also: fd(4).



  parent reply	other threads:[~2003-12-22 21:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-22 19:47 /dev/stdin .... ? Barth Weishoff
2003-12-22 21:30 ` Peter da Silva
2003-12-23  4:23   ` Finnbarr P. Murphy
2003-12-22 21:32 ` Spider Boardman [this message]
2003-12-23  2:47   ` Barth Weishoff
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox