spec

Software for Diffraction

2.3.9. - Tilde Expansion



The tilde expansion feature for path names replaces the tilde character at the start of a path name, as in HREF=undefanchor#tilde>undefsection/ , with the current user's home directory path, and replaces HREF=undefanchor#tilde>undefsectionuser/ with any user's home directory path. These spec commands and functions do tilde expansion on path-name arguments: chdir(), unix(), file_info(), open(), close(), on(), off(), dofile(), qdofile(), getline(), fprintf(), array_dump(), array_read(), data_dump(), data_read(), fmt_read(), fmt_write(), fmt_close() and h5_file(). In addition, the spec server will do tilde expansion on the filename received when a client registers for output/filename property events.