|
From: Ethan A M. <eam...@gm...> - 2018-11-12 19:55:02
|
On Monday, 12 November 2018 20:41:56 theozh wrote: > Hi Ethan, > based on your suggestion... the following seems to work under Windows. > In case anybody on Windows might be interested. > Although pretty ugly and cumbersome... > 1. writing 2 files to disk > 2. reading and concatenating 3 files from disk > 3. writing another file to disk > 4. and reading this file from disk > > I am wondering whether this will work properly with extremely large files on extremely slow network drives? Copying the original data into new file first and then reading it in a separate step is strictly worse than directing it through a pipe. So no, I would not recommend the file-based Method3 you show below. Hopefully someone more familiar than I am with MSWin can help with the commands needed to direct the catenation operation through a pipe. Ethan > > Thanks, > Theo. > > ### Read file "as is" to datablock under Windows > reset session > FILE = "Test.dat" > > # Method3 > set print "head" > print "$Data3 << EOD" > set print "tail" > print "EOD" > set print > > system "type head ".FILE." tail > Temp.dat" > load "Temp.dat" > print $Data3 > ### end of code > > > > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info |