Horje
how to check whether a string contains a special character or not in bash Code Example
how to check whether a string contains a special character or not in bash
if [[ $str =~ ['!@#$%^&*()_+'] ]]; then
    echo yes
else
    echo no
fi




Shell

Related
get files changed in branch Code Example get files changed in branch Code Example
angular-cli Code Example angular-cli Code Example
update yarn version Code Example update yarn version Code Example
check if a command exists Code Example check if a command exists Code Example
mac zip a folder without compression Code Example mac zip a folder without compression Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10