SED one-liners
String multiple sed statments together with:
sed -e 's/^.*RQGETSTR(//;s/,.*//;s/ //g'
Change all "foo" to "bar" leave the remaining filename the same:
for i in *;do y=`echo $i | sed -e "s/foo/bar/"`;mv "$i "$y";done
Links:
http://www.student.northpark.edu/pemente/sed/sed1line.txt
Good list of commonly used sed commands.

