diff mbox series

scripts: ver_linux:add flex, bison and yacc to the checklist

Message ID 20191105113100.521-1-unixbhaskar@gmail.com (mailing list archive)
State New, archived
Headers show
Series scripts: ver_linux:add flex, bison and yacc to the checklist | expand

Commit Message

Bhaskar Chowdhury Nov. 5, 2019, 11:31 a.m. UTC
This patch add three ulities explicitly to the checklist,namely
flex,bison and yacc.

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
 scripts/ver_linux | 3 +++
 1 file changed, 3 insertions(+)

--
2.23.0

Comments

Masahiro Yamada Nov. 6, 2019, 2:33 a.m. UTC | #1
On Tue, Nov 5, 2019 at 8:31 PM Bhaskar Chowdhury <unixbhaskar@gmail.com> wrote:
>
> This patch add three ulities explicitly to the checklist,namely
> flex,bison and yacc.
>
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
> ---
>  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
>
Bhaskar Chowdhury Nov. 6, 2019, 3:11 a.m. UTC | #2
On 11:33 Wed 06 Nov 2019, Masahiro Yamada wrote:
>On Tue, Nov 5, 2019 at 8:31 PM Bhaskar Chowdhury <unixbhaskar@gmail.com> wrote:
>>
>> This patch add three ulities explicitly to the checklist,namely
>> flex,bison and yacc.
>>
>> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
>> ---
>>  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
diff mbox series

Patch

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$/) {