[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re3: Suspected bug with gawk sed function and with sed
From: |
Eli Zaretskii |
Subject: |
Re: Re3: Suspected bug with gawk sed function and with sed |
Date: |
Sun, 01 Aug 2010 22:37:21 +0300 |
> Disposition-notification-to: Robert Greiner <address@hidden>
> Date: Sun, 01 Aug 2010 13:24:18 -0400
> From: Robert Greiner <address@hidden>
> Cc: "Greiner, Bob (Verizon)" <address@hidden>
>
> I want to change the ? in my input file into a " as follows:
>
> sed "s/^\?/\"/" junkin.txt > junkout.txt
>
> Running the above command from the command console does *not* work, at
> least not on my machine (Windows XP SP 3).
It does work for me. It replaces every ? at beginning of line with a
".
> I got my sed and gawk files from the following site:
>
> http://sourceforge.net/projects/unxutils
That's a very old (and buggy) set of ports. You can find newer ones
on the GnuWin32 site.