2013年8月28日星期三

How to use awk or sed to remove files all double quotes

How to use awk or sed to remove any double quotes in the file

file config_20130101.dat does have a lot of double quotes , how to use awk, sed removed.

seeking shell
------ Solution ---------------------------------- ----------
echo '# include "stdio.h"' | sed 's / \ "/ / g'
recommend coolshell.cn sed on Tutorial:
http://coolshell.cn/articles/9104.html
----- - Solution --------------------------------------------
sed -i 's/"//g' config_20130101.dat

没有评论:

发表评论