From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,36f89f38be16f64 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-12-22 13:32:07 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!in.100proofnews.com!tdsnet-transit!newspeer.tds.net!diablo.voicenet.com!rcn!feed3.news.rcn.net!not-for-mail Date: Mon, 22 Dec 2003 16:32:02 -0500 From: Spider Boardman Organization: Duchy of WabeSylvan Obspauk User-Agent: Mozilla/5.0 (X11; U; OSF1 alpha; en-US; rv:1.5) Gecko/20031031 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: /dev/stdin .... ? References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <3fe762d5$0$4740$61fed72c@news.rcn.com> NNTP-Posting-Host: 67.74.199.145 X-Trace: 1072128726 reader3.news.rcn.net 4740 67.74.199.145:2609 X-Complaints-To: abuse@rcn.com Xref: archiver1.google.com comp.unix.tru64:11051 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 < 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).