User Command LIST (Dyalog)
Overview
LIST is a command used to list the .dyalog files in a folder.
LIST is one of the SALT commands made into a user command.
Assumptions
The argument to LIST is a file path where the scripts are stored. If none is supplied the folder used is the first one found in the 'workdir' setting. The path may be full or relative. If relative LIST will use the 'workdir' setting to list the files.
Implementation
LIST displays the .dyalog files in the folder specified as argument along with the type (<DIR> if a directory), the version, its size and when it was last updated, one row per file.
LIST accepts a series of switches to alter its functionality:
-folders will only list the folders.
-full or full=1 will show the relative path only (or below the ROOT folder). full=2 will show the full length of the pathnames.
-raw will return the information without decorators and a title row.
-recursive will LIST the folders recursively.
-version will LIST all the versions.
Samples
]LIST lib
Type Name Version Size Last Update
Files 10452 2009/07/17 15:12:26
NStoScript 17336 2009/10/05 14:42:22
RunDemo 9362 2008/11/29 16:44:40
atfin 14595 2009/09/29 2:42:38
v12Utils 1147 2009/04/24 21:16:56
Version
This script is part of the Dyalog product. For that reason this page is immutable.
The script is version 1.0 from 2007
Author: DanBaronet
APL Wiki