If I have a 300M text-file to sort, and I run 'sort
in.txt > out.txt' (with sort 5.0.90), sort will use
roughly 25M of memory, and create temp-files of
roughly 16M in size.

   If I call 'sort -S 120M in.txt > out.txt', or 'sort
-S120M < in.txt > out.txt', the job will use much more
memory (as expected), create much larger tempfiles
(77M in my test case), and generally complete much
sooner.

   However, if I call 'cat in.txt | sort -S 120M >
out.txt', sort seems to ignore the '-S' parameter and
behave exactly as if it wasn't provided.  Is this a
bug or somehow expected behavior?

  -Michael


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to