That does it. I didn't understand the command totally when I read it last night.
Second question... How can I format this output into something readable? For example, the following is based off of the example script for the fwrite command...
$exampleFileName = ( internalVar -userTmpDir
+ "example.txt" );
$fileId = fopen $exampleFileName "w"
;
string $num = 5;
$array[0] = "This isn";
$array[1] = "a test.n";
fwrite $fileId "Hello theren";
fwrite $fileId $num;
fwrite $fileId $array[0];
fwrite $fileId $array[1];
fclose $fileId;
This makes example.txt read as (read the [] as the carraige return square character)...
Hello there[] 5 This is[] a test.[]
How can I get my output to format into something like
Hello there
5
This is
a test.
--JeffD