keenerd / packer

Bash wrapper for pacman and AUR.
247 stars 48 forks source link

Broken output on <Tab> character in package description #103

Open sebleblanc opened 11 years ago

sebleblanc commented 11 years ago

packer Packer output seems to break on tab characters in package description. The package in question is "ubuntu-style-icon-theme" ( https://aur.archlinux.org/packages/ubuntu-style-icon-theme/ ) and it breaks right where there is a tab character. In the meanwhile, I have asked the maintainer of said package to fix the PKGBUILD.

I was searching for "unity" with packer. Turning off color (environment variable COLOR=NO) has no effect on this issue.

sebleblanc commented 11 years ago

I have traced the problem down to line 685, where the printf command gets out of sync because of the tab character. Maybe some clever awk command might be used instead...