Basic Code Golf by hallvabo (no regexp)

B=0
import os
for c in os.read(0,999):os.write(1,c*(c>' 'or B));B^=c=='"'

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top