2019-11-05 11:34:14

by Bhaskar Chowdhury

[permalink] [raw]
Subject: [PATCH] scripts: ver_linux:add flex, bison and yacc to the checklist

This patch add three ulities explicitly to the checklist,namely
flex,bison and yacc.

Signed-off-by: Bhaskar Chowdhury <[email protected]>
---
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"))

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


2019-11-06 02:37:44

by Masahiro Yamada

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

On Tue, Nov 5, 2019 at 8:31 PM Bhaskar Chowdhury <[email protected]> wrote:
>
> This patch add three ulities explicitly to the checklist,namely
> flex,bison and yacc.
>
> Signed-off-by: Bhaskar Chowdhury <[email protected]>
> ---
> 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

2019-11-06 03:13:16

by Bhaskar Chowdhury

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

On 11:33 Wed 06 Nov 2019, Masahiro Yamada wrote:
>On Tue, Nov 5, 2019 at 8:31 PM Bhaskar Chowdhury <[email protected]> wrote:
>>
>> This patch add three ulities explicitly to the checklist,namely
>> flex,bison and yacc.
>>
>> Signed-off-by: Bhaskar Chowdhury <[email protected]>
>> ---
>> 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.
>
Will remove yacc from it.
>
>
>> while (getline <"/proc/self/maps" > 0) {
>> if (/libc.*\.so$/) {
>> --
>> 2.23.0
>>
>
>
>--
>Best Regards
>Masahiro Yamada


Attachments:
(No filename) (1.16 kB)
signature.asc (499.00 B)
Download all attachments