summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-November/019942.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-November/019942.html')
-rw-r--r--zarb-ml/mageia-dev/2012-November/019942.html106
1 files changed, 106 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-November/019942.html b/zarb-ml/mageia-dev/2012-November/019942.html
new file mode 100644
index 000000000..5e9eef332
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-November/019942.html
@@ -0,0 +1,106 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] [soft-commits] [6435] Added a first log viewer module.
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B6435%5D%20Added%20a%20first%20log%20viewer%0A%09module.&In-Reply-To=%3C50A0BC24.70206%40gmail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="019955.html">
+ <LINK REL="Next" HREF="019944.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] [soft-commits] [6435] Added a first log viewer module.</H1>
+ <B>Guillaume Rousse</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B6435%5D%20Added%20a%20first%20log%20viewer%0A%09module.&In-Reply-To=%3C50A0BC24.70206%40gmail.com%3E"
+ TITLE="[Mageia-dev] [soft-commits] [6435] Added a first log viewer module.">guillomovitch at gmail.com
+ </A><BR>
+ <I>Mon Nov 12 10:06:44 CET 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="019955.html">[Mageia-dev] [soft-commits] [6435] Added a first log viewer module.
+</A></li>
+ <LI>Next message: <A HREF="019944.html">[Mageia-dev] [soft-commits] [6435] Added a first log viewer module.
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#19942">[ date ]</a>
+ <a href="thread.html#19942">[ thread ]</a>
+ <a href="subject.html#19942">[ subject ]</a>
+ <a href="author.html#19942">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>I forgot this one...
+
+Le 11/11/2012 19:13, <A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at mageia.org</A> a &#233;crit :
+&gt;<i> +## Append a custom string to log view adding date
+</I>&gt;<i> +sub logText {
+</I>&gt;<i> + my ($st) = @_;
+</I>&gt;<i> + my $string = chomp_(`LC_ALL=C date '+%Y %b %d %T'`) . &quot; &quot; . $st . &quot;\n&quot;;
+</I>&gt;<i> + # `` return non utf8 and concat of non utf8 &amp; utf8 is non utf8:
+</I>&gt;<i> + c::set_tagged_utf8($string);
+</I>&gt;<i> +
+</I>&gt;<i> + # log given text
+</I>&gt;<i> + $logView-&gt;appendLines($string);
+</I>&gt;<i> +}
+</I>It is especially ugly to call external date binary, whereas perl has
+everything needed as builtin functions for this. See &quot;time related
+functions&quot; in perlfunc(1), and POSIX::strftime in POSIX(3pm) if you need
+a simple formation function.
+--
+BOFH excuse #66:
+
+bit bucket overflow
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="019955.html">[Mageia-dev] [soft-commits] [6435] Added a first log viewer module.
+</A></li>
+ <LI>Next message: <A HREF="019944.html">[Mageia-dev] [soft-commits] [6435] Added a first log viewer module.
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#19942">[ date ]</a>
+ <a href="thread.html#19942">[ thread ]</a>
+ <a href="subject.html#19942">[ subject ]</a>
+ <a href="author.html#19942">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>