[Top][All Lists]

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

Re: [bug-gawk] Help ourself

From: Eric Pruitt
Subject: Re: [bug-gawk] Help ourself
Date: Thu, 25 Apr 2019 20:05:24 -0700
User-agent: NeoMutt/20170113 (1.7.2)

On Fri, Apr 26, 2019 at 06:22:21AM +0700, Budi wrote:
> How to have value of true literal string of regex patterned FS ?
> Can be requested as a feature if not able to?

I'm not certain I understand your question, but if I do, the answer is
to escape all of the characters. The simplest way to do that would be to
wrap every character in brackets. In terms of AWK, this would be
'gsub(/./, "[&]", literal_fs); FS = literal_fs;'.


reply via email to

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