Skip to content

Commit

Permalink
Merge pull request #11 from tmck-code/trim-padding-better
Browse files Browse the repository at this point in the history
  • Loading branch information
tmck-code authored Feb 4, 2022
2 parents aaa9ee4 + 3162172 commit 368f531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/build_cows.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func findFiles(dirpath string, ext string, skip []string) []string {
}

func img2xterm(sourceFpath string) (error, []byte) {
out, err := exec.Command("bash", "-c", fmt.Sprintf("/usr/local/bin/img2xterm %s | grep \"\\S\" | tail -n +2 | cut -c 14-", sourceFpath)).Output()
out, err := exec.Command("bash", "-c", fmt.Sprintf("/usr/local/bin/img2xterm %s | grep \"\\S\" | tail -n +2 | sed 's/^\\s\\{14\\}//g'", sourceFpath)).Output()

return err, out
}
Expand Down

0 comments on commit 368f531

Please sign in to comment.