Re: [libvirt] [PATCH v6 2/8] snapshot: Sort virconftypes.h

2019-03-15 Thread Ján Tomko
On Fri, Mar 15, 2019 at 12:02:27AM -0500, Eric Blake wrote: It's easier to locate a typedef if they are stored in sorted order; do so mechanically via: $ sed -i '/typedef struct/ {N; N; s/\n//g}' src/conf/virconftypes.h $ # sorting the lines $ sed -i '/typedef struct/ s/;/;\n/g'

[libvirt] [PATCH v6 2/8] snapshot: Sort virconftypes.h

2019-03-14 Thread Eric Blake
It's easier to locate a typedef if they are stored in sorted order; do so mechanically via: $ sed -i '/typedef struct/ {N; N; s/\n//g}' src/conf/virconftypes.h $ # sorting the lines $ sed -i '/typedef struct/ s/;/;\n/g' src/conf/virconftypes.h Signed-off-by: Eric Blake ---