This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Add new script add-abilist.py
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: "Carlos O'Donell" <carlos at redhat dot com>, libc-alpha at sourceware dot org
- Date: Fri, 6 Mar 2015 09:55:55 -0800 (PST)
- Subject: Re: [PATCH] Add new script add-abilist.py
- Authentication-results: sourceware.org; auth=none
- References: <20150302080300 dot B464D4242A0BE at oldenburg dot str dot redhat dot com> <20150302201942 dot AC9532C39F1 at topped-with-meat dot com> <54F4CCCC dot 3070500 at redhat dot com> <20150302205928 dot C13FE2C3A08 at topped-with-meat dot com> <54F4CFCE dot 1020700 at redhat dot com> <54F8AED7 dot 2090109 at redhat dot com> <54F8C425 dot 8070501 at redhat dot com> <54F8CD76 dot 8030704 at redhat dot com> <20150305220313 dot A70CC2C3AB9 at topped-with-meat dot com> <54F8D36C dot 9020007 at redhat dot com> <54F98055 dot 3040107 at redhat dot com>
> Can we change the format of the abi-list file so that it is a list of
> rows, with space-separated columns
>
> <version> <symbol> <flags/size>
>
> ? Then I can write the diffing and merging logic just with sort and
> comm. With the current format, I'd have to write another Python script
> (or learn awk).
Everyone should learn awk anyway. But yes, I think it would be fine to
change the format to whatever is most convenient for maintenance. The
original choices of format were somewhat motivated by keeping the files
smaller, but the scale of the file sizes in today's world makes this a
nonissue.