That way you can never be tricked by dodgy files with names like ".\n".
You can replace $ with \z, that is also newline-safe.
In reply to Re^2: sorting a directories content
by betterworld
in thread sorting a directories content
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |