Thanks for reminder to make my life easier. In case you prefer more lightweight terminal function instead
(You can modify this for Linux with `| xclip -selection clipboard` instead `| pbpaste...` 🆒) alritey then 🏃♂️
```
uppercase_and_copy() {
local uppercased=$(echo "$1" | tr '[:lower:]' '[:upper:]')
echo "$uppercased" | pbcopy
echo "Text copied to clipboard: $uppercased"
}
```