Question

What Unicode symbols are acceptable in BASH variable names? Does the same list of symbols apply to CSH and TCSH?

Was it helpful?

Solution

I would say none.

á=3
á=3: command not found

If you like unicode symbol names, use Perl:

perl -e 'use utf8; $á = 42; print $á'
42
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top