Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes


Equivalent to UNIX ls command.



IDL> ls, /long -rw-r--r-- 1K Mar 23 14:25 COPYING -rw-r--r-- 298B May 14 14:07 Makefile drwxr-xr-x 1K May 14 14:13 api-docs/ -rw-r--r-- 259B Apr 27 15:16 drwxr-xr-x 748B May 14 14:09 src/ drwxr-xr-x 476B Apr 22 16:42 unittests/


top ls

ls [, pattern] [, /all] [, /long]

Substitute for UNIX ls command. Automatically uses -hF options.


pattern in optional type=string default=*

pattern to match filenames against


all in optional type=boolean

report all files (even hidden files like .*)

long in optional type=boolean

more information about each file is listed

Other attributes


doesn't handle directories matching pattern the same as ls does; IDL does not have a mechanism to get the owner for a file, so it is not displayed in the /LONG format

File attributes

Modification date: Wed May 14 15:07:14 2014
Lines: 115
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.