|First, I do not expect this to work, but maybe your version of sed doesn't like ^]. You might try using another character like "S" and see if that works:|
sed 's/guid="[^S]*"/guid=""/g' a.xml
but I don't expect it to.
Second, I'm not familiar with the WIN32 GNU utilities. For window's I use the MKS unix tool suite available at:
I tried the sed command with MKS and it works fine.
While i highly recommend it, MKS is not free. Probably the most well known free unix toolkit for Windows is cygwin. It's available for download on the web many places. Here are two:
Sorry, but I haven't used cygwin in years.
Tonight, when I get home, I'll try this on my Linux system and see what happens.