go fmt history/history.go
support pipeline both stdout and stderr with '|&' mark