Dollar character before double quotes in Bash -


i read bash code, echo $"asdf", $ for?

what difference between $"asdf" , "asdf"?

as documented in bash manual, used localization:

a double-quoted string preceded dollar sign (‘$’) cause string translated according current locale. if current locale c or posix, dollar sign ignored. if string translated , replaced, replacement double-quoted.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -