Answers for "bash check if string ends with slash"

0

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
Posted by: Guest on November-03-2020

Code answers related to "bash check if string ends with slash"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language