Format command lines.