On Mon, Apr 11, 2005 at 10:09:25PM -0700, Emmanuel Muncal wrote:
> Sir:
>
> I tried your perl line: Heres my result:
>
> # perl -n -e 'printf ("%s %s\n", $1, $2) if (s/(\d{9,10}) .*
> ([\d.e+\-]{16})/)' \
>
should have tested it :)
drop that "s", i.e. ... if (/(\d ...
> How do you convert your values ? I get an exponential values in XML
> file using the rrdtool dump.
>
You mean "values in scientific notation", with the E?
try "%s %f\n" instead of "%s %s\n"
or "%s %d\n" if you want integers
> On Mar 25, 2005 1:20 AM, Martin Schuster <[EMAIL PROTECTED]> wrote:
>
Out your reply _after_ my mail. Makes it easier for the readers :)
hth,
--
+------------------------------------------------------------------* .-.
| Martin Schuster Microsoft is not the answer /v\
| <[EMAIL PROTECTED]> www.tabr.org Microsoft is the question // \\
| <[EMAIL PROTECTED]> ICQ# 20511117 "Linux!" is the answer /( )\
+--------------------------------------------------------------* ^^-^^
-- Attached file removed by Ecartis and put at URL below --
-- Type: application/pgp-signature
-- Desc: Digital signature
-- Size: 190 bytes
-- URL : http://lists.ee.ethz.ch/p/425BB7E921681-signature.asc
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi