Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash if string does not start with

Just appreciate solution using "" regex for string ending with slash:
if[[ "some_string" != starting_string* ]]; then ...//some code
 
PREVIOUS NEXT
Tagged: #bash #string #start
ADD COMMENT
Topic
Name
4+6 =