bash check if string ends with slash code example
Example: bash check if string ends with slash
Just appreciate solution using "*/" regex for string ending with slash:
if[[ "string_ending_with_slash/" == */ ]]; then ...//some code
Just appreciate solution using "*/" regex for string ending with slash:
if[[ "string_ending_with_slash/" == */ ]]; then ...//some code