Langsung ke konten utama

BASH - How To Uppercase the First Character

BASH - Uppercase first character:

foo=bar
echo "${foo^}"

Output:
Bar

Komentar