[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

add "min" and "max" to coreutils?

From: Joshua Bronson
Subject: add "min" and "max" to coreutils?
Date: Wed, 1 Jul 2009 18:18:39 -0400

I was looking for a command line utility to get the min and max from a file
(rather than the much less efficient "sort | {head,tail} -1") and I couldn't
find one. Someone on linuxquestions.org directed me toward the Generic
Mapping Tools <http://gmt.soest.hawaii.edu/>, which provide a "minmax"
utility, and though it would get the job done it's not exactly what I was
looking for (not to mention I have no need for the ~60 other utilities in
the package). As the provider of "sort", would coreutils be the appropriate
package to provide "min" and "max" tools with a similar interface (e.g.
accepting "-n" and such)?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]