[Info-vax] Extending nested directory search syntax

Stephen Davies joviangm at gmail.com
Mon Jul 12 10:34:40 EDT 2021


On Thursday, 8 July 2021 at 18:51:49 UTC+1, Simon Clubley wrote:
> If you want to search all directories under sys$examples: (for example), 
> it would be nice if the following syntax worked instead of giving 
> an error: 
> 
> $ dir sys$examples:[...] 
> %DIRECT-E-OPENIN, error opening SYS$EXAMPLES:[...] as input 
> -RMS-F-DIR, error in directory name 

One thing I have always disliked about VMS is the inability to do
something as simple as "dir SYS$LOGIN:[SOME_DIR]"

In fact, I have gone as far as defining my logicals in pairs,
a regular version MYLOG = "DISK1:[DIR1.DIR2]" and an alternative
version MYLOG_ = "DISK1:[DIR1.DIR2.]". This allow commands such as
"dir MYLOG:*PAT1*" and "dir MYLOG_:[*PAT1*]*PAT2*".



More information about the Info-vax mailing list