Bug#356328: please add am_pm formatting information to en_NZ

2006-03-20 Thread John R. McPherson
On Mon, Mar 20, 2006 at 09:44:27PM +0100, Denis Barbier wrote:

> > Package: locales
> > Version: 2.3.6-3
> > Severity: minor
> > Tags: patch, upstream, l10n
> > 
> > Hi,
> > the New Zealand locale file /usr/share/i18n/locales/en_NZ is missing
> > strings for "am" and "pm". These should be the same as those in the
> > en_AU (Australia) locale file.
> 
> This makes sense, I will commit the requested change.
> Can you please submit it upstream as well
>   http://sourceware.org/bugzilla/enter_bug.cgi?product=glibc
> against the localedata component?  If upstream has questions,
> it is better to talk to you directly rather than through
> a lazy proxy.

Done - http://sourceware.org/bugzilla/show_bug.cgi?id=2473
thanks



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#356328: please add am_pm formatting information to en_NZ

2006-03-11 Thread John R. McPherson
Package: locales
Version: 2.3.6-3
Severity: minor
Tags: patch, upstream, l10n


Hi,
the New Zealand locale file /usr/share/i18n/locales/en_NZ is missing
strings for "am" and "pm". These should be the same as those in the
en_AU (Australia) locale file.

Thanks


--- en_NZ-  2006-03-02 15:15:39.0 +1300
+++ en_NZ   2006-03-02 15:15:39.0 +1300
@@ -111,8 +111,9 @@
 d_t_fmt 
""
 d_fmt   ""
 t_fmt   ""
-am_pm   "";""
-t_fmt_ampm  ""
+am_pm   "";""
+t_fmt_ampm  "/
+"
 date_fmt   "/
 /
 "



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#295618: broken /etc/init.d/devpts.sh script won't work

2005-02-16 Thread John R. McPherson
Package: libc6
Version: 2.2.5-11.8
Severity: Important

(Debian stable, with 2.6 kernel)

/etc/init.d/devpts.sh contains the following:

##
devpts_avail=`grep -qci '[<[:space:]]devpts' /proc/filesystems || true`
devpts_mounted=`grep -qci '/dev/pts' /proc/mounts || true`
devfs_mounted=`grep -qci '[<[:space:]]/dev[>[:space:]].*devfs' /proc/mounts || 
true`

if [ $devfs_mounted = 0 ] && [ $devpts_avail != 0 ]
then
##

However, surely this is wrong, as `` backticks are used for recording
the stdout of the command, not the return value. because grep -q || true
doesn't print anything, this variable is assigned an empty string.

bash then complains with "[: =: unary operator expected" because it tries
to do
if [ = 0 ]
which is a syntax error. The end result is my devpts isn't mounted and
I can't run programs that want a pts like screen.

Furthermore, adding || true to each of those tests seems to make the
tests redundant, since ` anything || true ` will return 0 (true).

I think you probably want something like
   grep -qci '[<[:space:]]devpts' /proc/filesystems 
   devpts_avail=$?
(etc)

John McPherson



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]