This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Make copy of <bits/std_abs.h> from GCC 7 [BZ #21573]


On Tue, Jun 13, 2017 at 4:54 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Tue, Jun 13, 2017 at 4:46 AM, Andreas Schwab <schwab@suse.de> wrote:
>> On Jun 13 2017, "H.J. Lu" <hjl.tools@gmail.com> wrote:
>>
>>> The first / in "/$1:/{s/:\$//;p}" is a command:
>>
>> It's not a command, it's an address.
>>
>>> [hjl@gnu-tools-1 glibc-test]$ echo "#include <bits/std_abs.h>" |
>>> /usr/gcc-7.1.1-x32/bin/c++ -M -MP -x c++ - | sed -n
>>> ",/bits/std_abs.h:,{s/:\$//;p}"
>>> sed: -e expression #1, char 1: unknown command: `,'
>>>
>>> What options do I have?
>>
>> \,$1,
>
> Here is the updated patch.  OK for master?
>
> Thanks.

I am checking it in.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]