...for memory blanks
pinboard
Makeself RPM Based Commands Debian based Commands bash vi/vim bash one-liners WordPress Google Sheets Excel Karaoke Facebook
This is an old revision of the document!
To remove everything after and including the final '.' use: ${var%.*} To remove the last 4 characters from 'string', use: new_string=${string::-4}
${var%.*}
new_string=${string::-4}