Output of locale command?

Hello,

I’m trying to figure out if I’ve damaged my installation in the course of screwing around with switching from bash to fish and installing powerline and various font packages. Is this what my locale should look like if I’ve set en_US.UTF-8?

It caught my eye since everything but LANG is in quotes, and LC_ALL is blank.

> LANG=en_US.UTF-8
> LC_CTYPE="en_US.UTF-8"
> LC_NUMERIC="en_US.UTF-8"
> LC_TIME="en_US.UTF-8"
> LC_COLLATE="en_US.UTF-8"
> LC_MONETARY="en_US.UTF-8"
> LC_MESSAGES="en_US.UTF-8"
> LC_PAPER="en_US.UTF-8"
> LC_NAME="en_US.UTF-8"
> LC_ADDRESS="en_US.UTF-8"
> LC_TELEPHONE="en_US.UTF-8"
> LC_MEASUREMENT="en_US.UTF-8"
> LC_IDENTIFICATION="en_US.UTF-8"
> LC_ALL=

Same except for: LC_COLLATE=C

HHHmmm, and the quotes. Never noticed that. I’m going to say the quotes don’t matter :slight_smile: The output of locale, only LC_CTYPE and LC_MESSAGES are quoted on my XFCE system.

Output is fine.

This is what I have, and things seems to be fine as far as I have noticed.

$ locale
LANG=en_US.UTF-8
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C

Edit: Did you uninstall bash? If so, I would put it back. :slight_smile:

I’ll check that man page out, @merlock . Thanks!

I’m using fish right now. Bash is still there, though…

Running the command there doesn’t look any different.

~]$ locale
LANG=en_US.UTF-8
LC_CTYPE=“en_US.UTF-8”
LC_NUMERIC=“en_US.UTF-8”
LC_TIME=“en_US.UTF-8”
LC_COLLATE=“en_US.UTF-8”
LC_MONETARY=“en_US.UTF-8”
LC_MESSAGES=“en_US.UTF-8”
LC_PAPER=“en_US.UTF-8”
LC_NAME=“en_US.UTF-8”
LC_ADDRESS=“en_US.UTF-8”
LC_TELEPHONE=“en_US.UTF-8”
LC_MEASUREMENT=“en_US.UTF-8”
LC_IDENTIFICATION=“en_US.UTF-8”
LC_ALL=

I have exactly what you have.

LC_ALL=C is better :slight_smile:

Edit: But if you use Windows, you may not like it. It changes the sort order.