https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226112
Wayne Sierke <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Wayne Sierke <[email protected]> --- A RE can be a literal of one or more characters. From re_format(7): A branch is one‡ or more pieces, concatenated. A piece is an atom possibly followed by a single‡ ‘*’, ‘+’, ‘?’, or bound. An atom is ... , or a single character ... Consider: % echo foobar | awk -F o -v OFS=X '{$1=$1;print}' fXXbar % echo foobar | awk -F oo -v OFS=X '{$1=$1;print}' fXbar % I don't think there is a need to separately reference single-character literal REs. (And unless I'm missing something I think the gawk man page is misguided for doing so.) -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-doc To unsubscribe, send any mail to "[email protected]"
