Questions
If you are talking about sed, this works:
sed
sed -e "s/ /,/g" < a.txt
In vim, use same regex to replace:
vim
s/ /,/g
~ Answered on 2012-11-24 06:07:42