parsing for pipe command