HP3000-L Archives

February 1998, Week 4

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:
Neil Harvey <[log in to unmask]>
Reply To:
Neil Harvey <[log in to unmask]>
Date:
Sat, 28 Feb 1998 07:32:08 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
I am trying to test the existence (or otherwise) of one or more files in
a series of Posix files (see below).
Is there a way to do this? I need to "fork" depending on the existence
or otherwise of an instance of a file or files.

All help appreciated.

Regards

Neil


:if finfo("/AMED/DEV/svs001f1.csv","EXISTS")
*** EXPRESSION TRUE
:endif

:if finfo("/AMED/DEV/svs*.csv","EXISTS")
*** EXPRESSION FALSE: COMMANDS IGNORED UNTIL MATCHING ELSEIF/ELSE/ENDIF
:endif
*** RESUME EXECUTION OF COMMANDS

:if finfo("[log in to unmask]","EXISTS")
*** EXPRESSION FALSE: COMMANDS IGNORED UNTIL MATCHING ELSEIF/ELSE/ENDIF
:endif
*** RESUME EXECUTION OF COMMANDS

ATOM RSS1 RSS2