bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sc_tight_scope on cygwin


From: Eric Blake
Subject: Re: sc_tight_scope on cygwin
Date: Thu, 26 Mar 2009 21:34:47 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Jim Meyering on 3/26/2009 7:32 AM:
>> failing on sc_strftime_check, with "info: No menu item `date' in node
>> `(libc.info.gz)Top'").
> 
> For me, that rule's "info libc date calendar format" command
> prints the "21.4.5 Formatting Calendar Time" section.
> Not for you, I suppose?

Nope.  Cygwin doesn't use glibc, so 'info libc' fails to turn up anything
at all.  Do you have a preferred way to skip this test on non-Linux
platforms, since glibc's info manual is unlikely to appear on any other
system?

> 
> The above doesn't work at all for me.
> Using ? in a sed regexp is not portable:
> 
>     $ echo _a |sed 's/_?/x/'
>     _a
>     $ echo _a |sed 's/_\?/x/'
>     xa
> 
> This sort of change should have the same effect, but more portably:
> 
>       nm -e *.$(OBJEXT)                                               \
>           | sed -n 's/.* T //p'                                       \
> +         | sed 's/^_//'                                              \

Indeed, this approach worked for me.  Is it worth trying to combine the
two sed invocations into one, or should I just go ahead and commit with
this style?

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknMSVcACgkQ84KuGfSFAYA15wCfWmTvPuKE6gUVueEA/shttQiF
KPoAoLEkfD2jbITRxtScL3VyepmbMB2Q
=4beK
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]