Strip command result