Re: Old version of vgrind no longer working

2022-12-25 Thread Damian McGuckin
On Sun, 25 Dec 2022, Ralph Corderoy wrote: It's the first expression which is the problem. $ sed -e 's%[[./*$^\\]%\\&%g' Thanks for that help. It was way beyond my 'sed' skill level. It's because ?[? represents itself inside a character class unless it's followed by a colon, dot, or equa

Re: Old version of vgrind no longer working

2022-12-24 Thread Ralph Corderoy
Hi Damian, > echo "$i" | sed -e 's%[[./*$^\\]%\\&%g' -e 's%.*%/^&:/d%' ... > sed: -e expression #1, char 18: unterminated `s' command It's the first expression which is the problem. $ sed -e 's%[[./*$^\\]%\\&%g'

Old version of vgrind no longer working

2022-12-24 Thread Damian McGuckin
I have a version of vgrind with the line echo "$i" | sed -e 's%[[./*$^\\]%\\&%g' -e 's%.*%/^&:/d%' It has worked for a gazillion years - 20+. Upon upgrading to CentoS 7.9, I suddently find that I get an error sed: -e expression #1, char 18: unterminated `s' command Can anybo