fix bug of -x to print all commands while '|' is existed