I am trying to remove some double quotes (") characters from a text file using a Ruby one liner, with little success.
I have tried the following, and some variations, without success.
ruby -pe 'gsub(/\"/,"")' < myfile.txt
This gives me the following error:
-e:1: Invalid argument - < (Errno::EINVAL)
I am running Ruby on a Win machine:
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
Any idea?