bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "-M" option does not work with "+" "-" characters


From: arnold
Subject: Re: "-M" option does not work with "+" "-" characters
Date: Sun, 05 Jul 2020 09:30:45 -0600
User-agent: Heirloom mailx 12.5 7/5/10

Thanks for the report. I will work on it.

I have solved the problem you reported previously.

Thanks,

Arnold

Hyunho Cho<mug896@naver.com> wrote:

>
> ### without "-M" option work well as expected
>
> bash$ awk '{ if ($1) print "must print " $1 }'       
> 1                  <------ user input
> must print 1       
> 2                  <------ user input
> must print 2
> +
> must print +       # work as expected
> -
> must print -       # work as expected
> ^C
>
>
> ### with "-M" option "+" "-" characters do not print
>
> bash$ awk -M '{ if ($1) print "must print " $1 }' 
> 1
> must print 1
> 2
> must print 2
> +                  # does not print
> -                  # does not print
> *
> must print *
> /
> must print /
> ^C



reply via email to

[Prev in Thread] Current Thread [Next in Thread]