[Tfug] rereading stdin

t takahashi gambarimasu at gmail.com
Sat Feb 18 04:13:30 MST 2006


for temp files it can work to open them in a directory that is cleaned
out hourly by cron, and it can sometimes work to use the <(...)
construct in bash and zsh (though not for this case).

for deviation statistics, i don't see why you need to read the file
twice.  can x-mean(x) be done once for each line?  median should be
the only common thing that would be hard to do without reading the
file twice.  i can give you formulas for mean, stdev, var, gmean,
skewness, kurtosis, etc. that require only one pass, if you want them.

--
Webmaster: do you believe that people will (a) switch browsers to view
your "best viewed with" page or (b) go to your competitor?


More information about the tfug mailing list