Date: Sun, 7 May 2006 00:00:52 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 693 ************************************************** Saturday 06 May 2006 Number 693 ************************************************** Subjects for today 1 Adding numbers automatically : John Poltorak 2 Re: Adding numbers automatically : Lyn St George" 3 Re: Adding numbers automatically : John Poltorak 4 ux2bs list : Brendan Oakley" 5 Re: ux2bs list : John Poltorak 6 Re: Adding numbers automatically : Steven Levine" 7 Re: Adding numbers automatically : Steven Levine" 8 Re: ux2bs list : IanM" 9 Re: ux2bs list : IanM" 10 Re: ux2bs list : Brendan Oakley" 11 m4 1.4.4 : Andreas =?iso-8859-1?Q?B=FCning?= **= Email 1 ==========================** Date: Fri, 5 May 2006 15:44:26 +0100 From: John Poltorak Subject: Adding numbers automatically If I have a file with a column of figures, how do I total them up automatically? I guess there is some Unix util which can do this... possible bc but I can't figure out how to do it. Any suggestions? -- John **= Email 2 ==========================** Date: Fri, 05 May 2006 17:17:34 +0100 (BST) From: "Lyn St George" Subject: Re: Adding numbers automatically On Fri, 5 May 2006 15:44:26 +0100, John Poltorak wrote: >If I have a file with a column of figures, how do I total them up >automatically? > >I guess there is some Unix util which can do this... possible bc but I >can't figure out how to do it. > >Any suggestions? Would it be overkill to load the file into a MySQL database and do: select sum(column_name) from table_name; or load it into a spreadsheet and sum the column? Also found this solution in a page of interesting tips: http://structbio.vanderbilt.edu/chazin/wisdom/ketchemr_unix.html and this for 'cut': http://www.softpanorama.org/Tools/cut.shtml >-- >John > > > > - Lyn **= Email 3 ==========================** Date: Fri, 5 May 2006 17:35:04 +0100 From: John Poltorak Subject: Re: Adding numbers automatically On Fri, May 05, 2006 at 05:17:34PM +0100, Lyn St George wrote: > On Fri, 5 May 2006 15:44:26 +0100, John Poltorak wrote: > > >If I have a file with a column of figures, how do I total them up > >automatically? > > > >I guess there is some Unix util which can do this... possible bc but I > >can't figure out how to do it. > > > >Any suggestions? > > Would it be overkill to load the file into a MySQL database and do: > select sum(column_name) from table_name; > > or load it into a spreadsheet and sum the column? That does seem a bit OTT. I'd probably be able to do it with one line of AWK... > - > Lyn > -- John **= Email 4 ==========================** Date: Fri, 5 May 2006 10:24:40 -0700 From: "Brendan Oakley" Subject: ux2bs list ------=_Part_19204_3261456.1146849880741 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi. Is there an issue with the ux2bs mailing list? I sent an email to list-request at unixos2.com with a subject of 'subscribe ux2bs' and didn't get anything back. Brendan ------=_Part_19204_3261456.1146849880741 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi.

Is there an issue with the ux2bs mailing list? I sent an email to list-request at unixos2.com with a su= bject of 'subscribe ux2bs' and didn't get anything back.

Brendan
------=_Part_19204_3261456.1146849880741-- **= Email 5 ==========================** Date: Fri, 5 May 2006 18:35:06 +0100 From: John Poltorak Subject: Re: ux2bs list On Fri, May 05, 2006 at 10:24:40AM -0700, Brendan Oakley wrote: > Hi. > > Is there an issue with the ux2bs mailing list? I sent an email to > list-request at unixos2.com with a subject of 'subscribe ux2bs' and didn't get > anything back. It isn't one that I host... Is Ian around? > Brendan -- John **= Email 6 ==========================** Date: Fri, 05 May 2006 11:17:56 -0700 From: "Steven Levine" Subject: Re: Adding numbers automatically In <20060505161439.7105629472D at mailserver1.zolotek.net>, on 05/05/06 at 05:17 PM, "Lyn St George" said: >Would it be overkill to load the file into a MySQL database and do: >select sum(column_name) from table_name; >or load it into a spreadsheet and sum the column? >http://www.softpanorama.org/Tools/cut.shtml Dunno. :-) There's always the perl one-liner perl -wne "$a+=$_;END { print $a ;}" MR2/ICE 2.67 #10183 Warp/eCS/DIY/14.103a_W4 www.scoug.com irc.fyrelizard.com #scoug (Wed 7pm PST) ---------------------------------------------------------------------- **= Email 7 ==========================** Date: Fri, 05 May 2006 12:12:08 -0700 From: "Steven Levine" Subject: Re: Adding numbers automatically In <20060505173504.B46 at warpix.org>, on 05/05/06 at 05:35 PM, John Poltorak said: >I'd probably be able to do it with one line of AWK... Or one line of shell script b=0; while read a;do b=$(expr $b + $a );done MR2/ICE 2.67 #10183 Warp/eCS/DIY/14.103a_W4 www.scoug.com irc.fyrelizard.com #scoug (Wed 7pm PST) ---------------------------------------------------------------------- **= Email 8 ==========================** Date: Sat, 06 May 2006 09:57:35 +1000 (EST) From: "IanM" Subject: Re: ux2bs list Hi Brendan and John Very groggy eyed but I'm around, I'll go and check. >> Hi. >> >> Is there an issue with the ux2bs mailing list? I sent an email to >> list-request at unixos2.com with a subject of 'subscribe ux2bs' and didn't get >> anything back. > >It isn't one that I host... > >Is Ian around? > Cheers IanM http://www.os2site.com/ "One World; One Web; One Program." -- Microsoft "Ein Volk; Ein Reich; Ein Fuhrer." -- Hitler **= Email 9 ==========================** Date: Sat, 06 May 2006 10:24:22 +1000 (EST) From: "IanM" Subject: Re: ux2bs list ok, list-request is working again, very wierd, had to reenter the pw again before it would work, no error messages at all. Wierd On Sat, 06 May 2006 09:57:35 +1000 (EST), IanM wrote: >Hi Brendan and John > >Very groggy eyed but I'm around, I'll go and check. > >>> Hi. >>> >>> Is there an issue with the ux2bs mailing list? I sent an email to >>> list-request at unixos2.com with a subject of 'subscribe ux2bs' and didn't get >>> anything back. >> >>It isn't one that I host... >> >>Is Ian around? >> > >Cheers >IanM >http://www.os2site.com/ > >"One World; One Web; One Program." -- Microsoft "Ein Volk; Ein Reich; Ein Fuhrer." -- Hitler Cheers IanM http://www.os2site.com/ "User error. Replace user and press any key..." **= Email 10 ==========================** Date: Fri, 5 May 2006 21:06:49 -0700 From: "Brendan Oakley" Subject: Re: ux2bs list ------=_Part_25619_4066286.1146888409434 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks, it worked for me now. On 5/5/06, IanM wrote: > > ok, list-request is working again, very wierd, had to reenter the pw > again before it would work, no error messages at all. > > Wierd > On Sat, 06 May 2006 09:57:35 +1000 (EST), IanM wrote: > > >Hi Brendan and John > > > >Very groggy eyed but I'm around, I'll go and check. > > > >>> Hi. > >>> > >>> Is there an issue with the ux2bs mailing list? I sent an email to > >>> list-request at unixos2.com with a subject of 'subscribe ux2bs' and > didn't get > >>> anything back. > >> > >>It isn't one that I host... > >> > >>Is Ian around? > >> > > > >Cheers > >IanM > >http://www.os2site.com/ > > > >"One World; One Web; One Program." -- Microsoft "Ein Volk; Ein Reich; > Ein Fuhrer." -- > Hitler > > Cheers > IanM > http://www.os2site.com/ > > "User error. Replace user and press any key..." > > ------=_Part_25619_4066286.1146888409434 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks, it worked for me now.

On 5/= 5/06, IanM <IanM> wrote:
ok, list-request is working again, very wierd, had to reenter the pw
aga= in before it would work, no error messages at all.

Wierd
On Sat, = 06 May 2006 09:57:35 +1000 (EST), IanM wrote:

>Hi Brendan = and John
>
>Very groggy eyed but I'm around, I'll go and check.
>=
>>> Hi.
>>>
>>> Is there an issue with= the ux2bs mailing list? I sent an email to
>>> list-request at unixos2.com with a subject of 'subscribe ux2bs' and didn't= get
>>> anything back.
>>
>>It isn't one tha= t I host...
>>
>>Is Ian around?
>>
>
>Cheers
>IanM
>ht= tp://www.os2site.com/
>
>"One World; One Web; One Prog= ram."  -- Microsoft  "Ein Volk; Ein Reich; Ei= n Fuhrer."  --
Hitler

Cheers
IanM
http://www.os2site.com/

"User error. Replace user and p= ress any key..."


------=_Part_25619_4066286.1146888409434-- **= Email 11 ==========================** Date: Sat, 06 May 2006 14:13:44 +0200 From: Andreas =?iso-8859-1?Q?B=FCning?= Subject: m4 1.4.4 Hello! I've just uploaded GNU m4 1.4.4: See http://unixos2.com/pub/binary/m4/m4-1.4.4-bin.zip for the binaries, and http://unixos2.com/pub/source/m4/m4-1.4.4.zip for the sources. m4 is a tool required by autoconf. Version 1.4.4 will be required for the upcoming autoconf 2.60 but won't need it before that happens. Bye, Andreas