Re: [PATCH v1] tools/hv: reduce resouce usage in hv_get_dns_info helper

2024-12-06 Thread Wei Liu
On Mon, Dec 02, 2024 at 01:04:10PM +0100, Olaf Hering wrote: > Remove the usage of cat. Replace the shell process with awk with 'exec'. > Also use a generic shell because no bash specific features will be used. > > Signed-off-by: Olaf Hering The resource saving is not a lot, but nonetheless: Ac

[PATCH v1] tools/hv: reduce resouce usage in hv_get_dns_info helper

2024-12-02 Thread Olaf Hering
Remove the usage of cat. Replace the shell process with awk with 'exec'. Also use a generic shell because no bash specific features will be used. Signed-off-by: Olaf Hering --- tools/hv/hv_get_dns_info.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/hv/hv_get_dns