How to remove filename prefix with a Posix shell
You said POSIX shells which would include BASH, Kornshell, Ash, Zsh, and Dash. Fortunately, all of these shells do pattern filtering on variable values. Patterns are what you use when you specify files with things like * on the Unix/Linux command line: $ ls *.sh # Lists all files with a `.sh` suffix These POSIX … Read more