Accept both relative and absolute paths in a bash script

I would like to make a bash script that accepts both relative and absolute paths. It would be easy to filter with the first character, but I wonder if there is a more elegant way.


Source: bash

Leave a Reply