I want to ask the user of my bash script to pass a directory path as argument. Which one of the following is a good programming practice?
- Require that the user enter a trailing / (forward slash)
- Require that a user doesn't enter a trailing / (forward slash)