Bash Scripting - String Operations
Given
path="/home/user/archive.tar.gz", which expression removes the longest suffix starting with a dot, resulting in /home/user/archive?