HP3000-L Archives

November 2005, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"James B. Byrne" <[log in to unmask]>
Reply To:
James B. Byrne
Date:
Tue, 29 Nov 2005 10:48:09 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (40 lines)
In test (a POSIX utility available on MPEix/7.5 and earlier) one 
may check for the existence of a file thus:

if [ -e hfs-filename ] && echo success 

How does one do this in a JOB file running in the HFS space?

FINFO does not seem to work for me.


> :setvar _T_ ![finfo("\BACKUPS\SYSTEM\STDTST.1.1","EXISTS")]
> :SHOWVAR _T_
> _T_ = FALSE
> 
> :LIS /BACKUPS/SYSTEM/@
>  PATH= /BACKUPS/SYSTEM/
> 
>  FILENAME
>         
>  STDSYS01   STORE
>  STDSYS01.2 STORE 
>  STDTST.1.1 STORE
>  STDTST.2.1 STORE
> 


Regards,
Jim

--   
     *** e-mail is not a secure channel ***
mailto:byrnejb.<token>@harte-lyne.ca
James B. Byrne                Harte & Lyne Limited
vox: +1 905 561 1241          9 Brockley Drive
fax: +1 905 561 0757          Hamilton, Ontario
<token> = hal                 Canada L8E 3C3

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2