只问耕耘
分类:
2010-02-09 09:57:57
echo $filename | sed 's|.sql||g'
#g global, Operate on every pattern match within each matched line of input, Unless the g (global) operator is appended to a substitute command, the substitution operates only on the first instance of a pattern match within each line.