Re: [PATCH] scripts: ver_linux:add flex, bison and yacc to the checklist

From: Masahiro Yamada
Date: Tue Nov 05 2019 - 21:34:09 EST


On Tue, Nov 5, 2019 at 8:31 PM Bhaskar Chowdhury <unixbhaskar@xxxxxxxxx> wrote:
>
> This patch add three ulities explicitly to the checklist,namely
> flex,bison and yacc.
>
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@xxxxxxxxx>
> ---
> scripts/ver_linux | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/scripts/ver_linux b/scripts/ver_linux
> index 810e608baa24..397497cf9430 100755
> --- a/scripts/ver_linux
> +++ b/scripts/ver_linux
> @@ -32,6 +32,9 @@ BEGIN {
> printversion("PPP", version("pppd --version"))
> printversion("Isdn4k-utils", version("isdnctrl"))
> printversion("Nfs-utils", version("showmount --version"))
> + printversion("Bison", version("bison --version"))
> + printversion("Flex", version("flex --version"))
> + printversion("Yacc", version("yacc --version"))

I think adding only "Bison" an "Flex" is enough.



> while (getline <"/proc/self/maps" > 0) {
> if (/libc.*\.so$/) {
> --
> 2.23.0
>


--
Best Regards
Masahiro Yamada