https://www.baeldung.com/linux/bash-substring
Anonymous
Don't force yourself or others to reimplement functionality.