Filenames and Pathnames in Shell (bash, dash, ash, ksh, and so on): How to do it Correctly
This article explains how to correctly handle filenames in Bourne shells (the primary shell of Unix/Linux/POSIX systems), based on the issues discussed in
dwheeler.com