Re: [PATCH 1/2] livepatch-build-tools: remove usage of gawk

2023-11-27 Thread Roger Pau Monné
On Fri, Nov 24, 2023 at 12:10:57PM +, Alejandro Vallejo wrote: > On 24/11/2023 11:43, Ross Lagerwall wrote: > > On Thu, Nov 23, 2023 at 4:08 PM Roger Pau Monne > wrote: > >> > >> And instead use plain awk. > >> > >> There's no need to use the --non-decimal-data option for gawk, since the > >>

Re: [PATCH 1/2] livepatch-build-tools: remove usage of gawk

2023-11-24 Thread Alejandro Vallejo
On 24/11/2023 11:43, Ross Lagerwall wrote: > On Thu, Nov 23, 2023 at 4:08 PM Roger Pau Monne wrote: >> >> And instead use plain awk. >> >> There's no need to use the --non-decimal-data option for gawk, since the >> numbers that we want to print are already prefixed with '0x', and so plain awk

Re: [PATCH 1/2] livepatch-build-tools: remove usage of gawk

2023-11-24 Thread Ross Lagerwall
On Thu, Nov 23, 2023 at 4:08 PM Roger Pau Monne wrote: > > And instead use plain awk. > > There's no need to use the --non-decimal-data option for gawk, since the > numbers that we want to print are already prefixed with '0x', and so plain awk > will do the conversion from hexadecimal to decimal j

[PATCH 1/2] livepatch-build-tools: remove usage of gawk

2023-11-23 Thread Roger Pau Monne
And instead use plain awk. There's no need to use the --non-decimal-data option for gawk, since the numbers that we want to print are already prefixed with '0x', and so plain awk will do the conversion from hexadecimal to decimal just fine. Signed-off-by: Roger Pau Monné --- livepatch-build | 2