[hackers] [wmii] Fix status bar for silly locales. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Thu, 15 Jul 2010 00:10:28 +0000 (UTC)

changeset: 2765:af46181238ec
tag: tip
user: Kris Maglione <kris_AT_suckless.org>
date: Wed Jul 14 20:10:16 2010 -0400
files: alternative_wmiircs/plan9port/wmiirc rc/wmiirc.sh
description:
Fix status bar for silly locales.

diff -r 71e85fc15f46 -r af46181238ec alternative_wmiircs/plan9port/wmiirc
--- a/alternative_wmiircs/plan9port/wmiirc Sat Jul 10 22:35:31 2010 -0400
+++ b/alternative_wmiircs/plan9port/wmiirc Wed Jul 14 20:10:16 2010 -0400
@@ -63,7 +63,7 @@
 
 # Status Bar Info
 fn status {
- echo -n label `{uptime | sed 's/.*://; s/,//g'} '|' \
+ echo -n label `{uptime | sed 's/.*://; s/, / /g'} '|' \
                       `{date} }
 
 # Generic overridable startup details
diff -r 71e85fc15f46 -r af46181238ec rc/wmiirc.sh
--- a/rc/wmiirc.sh Sat Jul 10 22:35:31 2010 -0400
+++ b/rc/wmiirc.sh Wed Jul 14 20:10:16 2010 -0400
@@ -65,7 +65,7 @@
 
 # Status Bar Info
 status() {
- echo -n label $(uptime | sed 's/.*://; s/,//g') '|' $(date)
+ echo -n label $(uptime | sed 's/.*://; s/, / /g') '|' $(date)
 }
 
 # Generic overridable startup details
Received on Thu Jul 15 2010 - 02:10:28 CEST

This archive was generated by hypermail 2.2.0 : Thu Jul 15 2010 - 02:12:04 CEST