edit command lines