[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suspected bug with gawk sed function and with sed
From: |
John Cowan |
Subject: |
Re: Suspected bug with gawk sed function and with sed |
Date: |
Sat, 31 Jul 2010 23:46:12 -0400 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Robert Greiner scripsit:
> I love your Windows version of Unix utilities, but I have run into an
> intractable problem: how do you substitute a given character with a
> literal double quote? I have tried both gawk's sub function as well as
> sed, but I cannot get either to work.
You are suffering from the limitations of cmd.exe, so you will have
the same problem in any program. You should either switch to a real
Unix-compatible shell (there are several available for Windows) or else
put your awk/sed code into a file and execute it with the -f option.
--
So they play that [tune] on John Cowan
their fascist banjos, eh? address@hidden
--Great-Souled Sam http://www.ccil.org/~cowan