On Mon, 23 Mar 1998, Nick Busigin wrote: > On Sun, 22 Mar 1998, [iso-8859-1] Marcelo E. Magallón wrote: > > > On Mon, 23 Mar 1998, Michael Beattie wrote: > > > > > Cant help jumping in, is there an easy way to add/subtract times from the > > > output of "date"??? > > > Or do you mean that the time-stamp file would be null length and use its > > > creation time? even then, how can you work out the time since creation? > > > > I'm thinking C... use time_t, and add and substract that. strftime is your > > friend here. From the shell, use date with some funky formating (something > > like "date +%Y%m%d%H%M.%S"). You man add and substract that, and convert > > it to another format. > > > > And yes, for what I asked, it would be a null file, and use creation date > > for reference. > > I wrote a perl script that calculates ppp usage and breaks it down by user > and also classifies it by prime/non-prime time usage. If you like, I can > mail it to you.
Yup.. I would like :) Can you mail it to me please? Michael Beattie ([EMAIL PROTECTED]) ------------------------------------------------------------------------------- ERROR #0001: Windows/NT loaded. Hoo-boy, is your system in for it now. ------------------------------------------------------------------------------- Debian GNU/Linux.... Ooohh You are missing out! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]