Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flag -L doesn’t work when not in en_US locale #81

Open
Ratatosk42 opened this issue Dec 16, 2016 · 0 comments
Open

Flag -L doesn’t work when not in en_US locale #81

Ratatosk42 opened this issue Dec 16, 2016 · 0 comments

Comments

@Ratatosk42
Copy link

Apacman grep some localized text in getlistpackages method, and it doesn't work when the system isn't in english.

https://github.com/oshazard/apacman/blob/master/apacman#L349

For example, in french, must be something like that :

pacman -Qi | grep -e "^Nom " -e "^Taille installée " | \ awk '{if ($(NF-1) ~ /^[0-9]/) printf $(NF-1); print $NF}' | paste -s -d' \n' | \ sed -e 's/iB$//' -e 's/\.00K/K/' -e 's/\.00B/B/' | awk '{printf "%-10s %-40s\n",$2,$1}' | sort -h

I don't know how to fix that …

Ratatosk42 pushed a commit to Ratatosk42/apacman that referenced this issue Feb 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant