Exemplo Aula #02 #1
```bash
echo Olá, qual é a sua graça?
read -p '> ' nome sobrenome
[[ ${#nome} -gt 1 ]] && s=s
echo ${nome^} tem ${#nome} caractere$s
[[ ${#sobrenome} -gt 1 ]] && s=s || s=
echo ${sobrenome^} tem ${#sobrenome} caractere$s
#echo olá ${nome##* }
```
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?