Name

listtofile — List to file takes a list and transforms it into a filename, adding the correct file seperator for the platform in question.

Synopsis

listtofile list

Description

The listtofile command takes a list and returns a filename. The filename doesn't need to exist on the system.

Example

hecl> set lst [list / etc passwd]
/ etc passwd
hecl> listtofile $lst
/etc/passwd