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
Post a Comment