awk convert first character to lowercase
echo example | awk '{$1=toupper(substr($1,0,1))substr($1,2)}1'
Example #Example first upppercased outputedecho EXAMPLE | awk '{$1=tolower(substr($1,0,1))substr($1,2)}1'
eXAMPLE #Example first lowercased outputedecho EXAMPLE | awk '{$1=tolower(substr($1,0,1))substr($1,2)}1'
eXAMLPLE #Example first lowercased outputed
Also in C++:
- check chrome version ubuntu via terminal
- install bootstrap vue
- kali linux
- bash print keys of awk array
- how to kill process ubuntu
- "crontab" change dynamically shell
- github clone to local folder
- clean uninstall ubuntu-desktop from ubuntu server
- update angular
- remove all docker images
- bash sum variable
- export github branch from one repository to another
- how to execute .sh file in linux
- change desktop icon size in linux
- list apt installed programs
- download file using cmd
- add platform toolchain to linux
- install ruby
- ubuntu 18.04 bluetooth headset problem turning off
- install babel preset env
- djanog shell change password
- new linux terminal shortcut
- centos install lsb_release
- vim redo last undo