|
From: theozh <th...@gm...> - 2018-11-15 18:59:26
|
Thanks again, Ethan! just for completeness, such that the world can read your valuable comments (see below). Theo. > > just for curiosity... > Do you know if there is also a way under Linux without creating and loading two helper files? > > > I'm sure there are several, but I thought the shell syntax would not be applicable on MSWin. > Here is one way > > load '< echo "\$DATA << EOD" & cat file.dat' > > > Do you actually need the "EOD" at the end under Linux? > > > You do if it is being read from a file or input stream that may contain other > commands after the data block. The EOD signals the end of the data block and the > start of regular commands. But in your specific case there is nothing after the data > and the true end-of-file serves the same purpose. So the answer is "no" you do not > need the EOD if the load operation is only filling a datablock. > > Ethan > |