[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gawk] How to take regexp constant from command line?
From: |
Peng Yu |
Subject: |
[bug-gawk] How to take regexp constant from command line? |
Date: |
Sat, 17 Nov 2018 22:48:34 -0600 |
Hi,
I am not able to take a regexp constant from the command line. Is
there a way to do so? Thanks.
awk -v 'y=@/xyz/' -e 'BEGIN { x= @/abc/; print typeof(x);print x; print y }'
--
Regards,
Peng
- [bug-gawk] How to take regexp constant from command line?,
Peng Yu <=