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

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -