|
From: theozh <th...@gm...> - 2018-11-13 21:03:03
|
ok, I think here we go :-) You concatenate the text '$Data <<EOD' and the content of the file using the commands 'echo' and 'type' at which the character '<' has to be escaped by '^'. So easy if you know how. The advantages over the earlier mentioned other methods: - empty lines are preserved - no additional space character at the beginnig of the line - no loading of any extra assistant files ### Read file "as is" to datablock under Windows reset session FILE = "Test.dat" load "< echo $Data ^<^<EOD & type ".FILE print "$Data" print $Data ### end of code |