Subject: | |
From: | |
Reply To: | |
Date: | Fri, 26 May 2000 08:50:31 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Barry Lake wrote:
>
> At 1:24 AM -0400 5/26/00, [log in to unmask] wrote:
> >...Ultimately, I'd like to set up a command that
> >looks roughly like this:
> >
> > :IF FINFO(<localfilename>,"EOF") <> FINFO(<remotefilename>,"EOF") THEN
> >COMPLAIN
> >
> >The part that is being elusive, of course, is specifying the name of a file
> >on a remote system...
>
> How about something like this...
>
> 1) :remote file remeof;dev=#disc
> 2) :remote echo !![finfo('remfile','eof')] > *remeof
> :input remote_eof < remeof
> 3) :if finfo('locfile','eof') <> !remote_eof
> : xeq complain.cmd
> :endif
It's been at least 10 years since I've used the 3000<->3000 remote file
capabilities, but couldn't you do something like this?:
:file it=remotefilename:remotenodename
:if finfo("localfilename","EOF") <> finfo("*it","EOF") then
I don't know if that's the correct :file syntax; the key point is that finfo()
can refer to :file equates, which can refer to remote files...
- Mark B.
|
|
|