out of space on /root
Xen
list at xenhideout.nl
Mon Mar 6 19:48:24 UTC 2017
Xen schreef op 06-03-2017 20:30:
>> It's true that in many cases the processing difference is not
>> significant, because the amount of data involved is small. But, I
>> didn't comment on the GENERAL case, I commented on THIS case. In this
>> case, where we're dealing with such enormous files, there is
>> absolutely
>> no question that the non-cat version is far superior and the cat
>> version should be avoided.
Also, personally...
On this little NAS device my test took some 48 seconds on average
(varying wildly) for the cat method on that 1.8G file.
It took some 22 seconds (on average, not varying as much) for the "<
file" method.
Regardless for ME getting ready to issue the correct command in the
correct place often takes longer than those 22 seconds.
After I issue that command, I'm generally not waiting until it's done. I
go do something else, or sometimes I do wait. Sometimes it matters,
sometimes it doesn't.
So generally the execution of the command itself is not the thing that
takes the most time for me. It is getting ready to do it and then
dealing with the result, which sometimes requires some thing or some
arduous work and that is dwarfed by the amount of time the command runs
in the sense that I can go do something else in the meantime, and it
doesn't bother me all that much how long the command runs.
YMMV but I don't have a huge problem with these commands taking a bit
longer. This is a very slow NAS device and this file was processed in
one minute max, more or about and that is simply not a problem to me.
However to me, making errors in my command line syntax is more important
and that is why I prefer the slower, but more robust command line syntax
that I'm used to, thank you very much and I hope that can be the same
for everyone but everyone can choose their own path right.
I have just not had an occasion that I was not criticised for using the
cat version. Even when it matters to no one else, just me, I get
criticized for it.
When for me it is just far superior the other method by any means. On
*very* rare occasions do I care enough to use the < file direct pipe
syntax (redirect syntax) in opposition of the cat syntax. VERY RARE.
So that's all that is for me, I just want to share my vision on it but
experientally this is just for me the superior method, that's all.
Thank you, bye.
More information about the ubuntu-users
mailing list