NAME
List2File — Write list elements as lines to file.
SYNOPSIS
List2File ListValue OutFilePath
DESCRIPTION
Return Value
None.
Arguments
ListValueList of lines to write to file.
OutFilePathPath of file to write to.
More Info
Each list element is written as a line to the file and ends with a newline.

Note this does not yet support non-utf8 encoding.


For information regarding exceptions / errors, see here.
EXAMPLES
% set MyList [list one two three]
one two three
% List2File $MyList test.txt
% cat test.txt
one
two
three
SEE ALSO
File2List, File2String, String2File
KEYWORDS
file, list