1

As I was searching for an answer regarding what is $"..." , I came across this answer

The answer although tells what's $"..." but does not clarify with an example, it mentions about locale but I didn't understand that either which is why I still don't understand what is the purpose of $"..." , where do people use it and what do people use it for ?

I am looking for an example that explain this.

2

It is used to use your locale settings to allow the shell to translate text into the current locale (e. g. having LANGUAGE=de_DE echo $"Good morning" yield Guten Morgen). There is a fair amount of reading on how to set this up here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.