bug-coreutils
[Top][All Lists]
Advanced

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

Re: suming utility


From: Pádraig Brady
Subject: Re: suming utility
Date: Tue, 24 Jul 2007 09:41:10 +0100
User-agent: Thunderbird 1.5.0.8 (X11/20061116)

Marcin Cinik wrote:
> Hello!
> 
> I'm looking for the utility which could sum up numbers separated by
> anything what is not a number from stdin or file. I needed such tool
> very often and finally I've written one recently. It is not easy to
> accomplish that using bc because it is hard to use when scripting (you
> need to add '+' signs, there's a problem with '-', blank lines and it is
> hard to force bc output to be as I want). My question is: Is there any
> utility within coreutils which could suffice my needs ? If it is not, is
> there any possibility to contribute my simple utility to coreutils ?
> I know that maybe it is not right mailing list, but at this moment I
> don't know the better one.
> 
> regards,
> 
> Marcin Cinik

I'm not sure such a utility fits with coreutils
(though I have required the functionality many times myself).
Here are some pointers:

http://www.pixelbeat.org/scripts/add
http://www.pixelbeat.org/scripts/funcpy
http://suso.suso.org/programs/num-utils/

Pádraig.




reply via email to

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