support -c, -i, -b, -e.