bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: GNU awk 3.1.1 / gsub


From: Stepan Kasal
Subject: Re: GNU awk 3.1.1 / gsub
Date: Fri, 14 May 2004 18:56:08 +0200
User-agent: Mutt/1.4.1i

Hi,

On Tue, May 11, 2004 at 11:26:30AM +0200, VISADMIN wrote:
> I tried to eliminate the '|' in a file with gsub ("|", " ", $i),
...
> Also when replacing "|" with "\|" it does not work.

replace it with  /\|/  or  "\\|"

See http://www.gnu.org/software/gawk/manual/html_node/Computed-Regexps.html

HTH,
        Stepan Kasal




reply via email to

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