> > sed -e 's/\.//g' > -e 's/\,//g' > -e 's/\\//g' "$1" ... but also note that this can be done with a single command (escaping is useless here) : 's/[,/.]//g' -- Cédric Lucantis