* Andreas Kool <[EMAIL PROTECTED]> schrieb: > Kurz und knapp: Ich habe soeben den isdnlog-4.60 eingecheckt, der bei dem > Eintrag > U:^%.3f c > _anstelle_ von > U:%.3f EUR > alle Betr�ge nun in Euro-Cent, und nicht mehr in Euro anzeigt. > Der eigentliche Witz an diesem Eintrag ist das "^" am Anfang - es wird nicht > angedruckt, sondern bewirkt, das isdnlog intern alle Betr�ge MAL 100,0 nimmt. > Die Optik der restlichen Format-Maske ist weiterhin frei gestaltbar.
Ich finde diese Funktion angenehm, wenn auch das schlichte 'c' als W�hrungseinheit gew�hnungsbed�rftig ist. Die alternative U:-Zeile sollte daher auskommentiert im header vorhanden sein. Langfristig gesehen, w�re es �berlegenswert, das W�hrungsformat in der Konfigurationsdatei abzulegen, da ein von der Vorgabe abweichendes Format ansonsten das manuelle �ndern jeder neuen rate-CC.dat erfordert. Allerdings sind mir die urspr�nglichen �berlegungen, die zum U:-Tag gef�hrt haben, nicht bekannt. > PS: Bislang funzt das nur beim "isdnlog" sowie beim "isdnbill" ... isdnbill funktioniert hier nicht, dies aber nur am Rande: | $ isdnbill -a | Segmentation fault (core dumped) | $ gdb `which isdnbill` core | GNU gdb 4.18 | Copyright 1998 Free Software Foundation, Inc. | GDB is free software, covered by the GNU General Public License, and you are | welcome to change it and/or distribute copies of it under certain conditions. | Type "show copying" to see the conditions. | There is absolutely no warranty for GDB. Type "show warranty" for details. | This GDB was configured as "i386-redhat-linux"... | Core was generated by `isdnbill -a'. | Program terminated with signal 11, Speicherzugriffsfehler. | Reading symbols from /usr/lib/libgdbm.so.2...done. | Reading symbols from /lib/libm.so.6...done. | Reading symbols from /lib/libc.so.6...done. | Reading symbols from /lib/ld-linux.so.2...done. | Reading symbols from /lib/libnss_files.so.2...done. | #0 0x4001d080 in _gdbm_findkey () from /usr/lib/libgdbm.so.2 | (gdb) where | #0 0x4001d080 in _gdbm_findkey () from /usr/lib/libgdbm.so.2 | #1 0x4001b39e in gdbm_fetch () from /usr/lib/libgdbm.so.2 | #2 0x8060822 in initDest () | #3 0x804d3f1 in main () | #4 0x400549cb in __libc_start_main () at ../sysdeps/generic/libc-start.c:122 | (gdb) q Gru� Tobias -- Tobias Becker E-Mail [EMAIL PROTECTED] PGP 0xD06BB70D * Beschr�nke dich nicht auf den Zweig oder das Blatt, sonst vergisst du, dass sie Teil eines Baumes sind. Und beschr�nke dich nicht auf den Baum, sonst vergisst du, dass er Teil eines Waldes ist. * Mario Vargas Llosa * ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Rates4linux-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/rates4linux-users
