In UNIX systems, ~ at the beginning of a pattern matches the home directory of the current user.
It would be nice if glob supported this as well.
NB: as a matter of fact, ~ alone matches the current user's home, and ~username matches the home directory of username. Ideally, glob would support both.
In UNIX systems,
~at the beginning of a pattern matches the home directory of the current user.It would be nice if
globsupported this as well.NB: as a matter of fact,
~alone matches the current user's home, and~usernamematches the home directory ofusername. Ideally,globwould support both.