Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Check regex
#!/bin/bash # GNU bash, version 4.4.20 COMMIT_MESSAGE="[ENG-5499] [PROTO-IGNORE-BREAKING] My commit goes here" regex="\[PROTO-IGNORE-BREAKING\]" echo "Regex $regex" if [[ $COMMIT_MESSAGE =~ $regex ]] ; then echo "Breaking changes are allowed. Not checking for compatibility." else echo "Will check for failures" fi regex="/\[PROTO-IGNORE-BREAKING\]/" echo "Regex $regex" if [[ $COMMIT_MESSAGE =~ $regex ]] ; then echo "Breaking changes are allowed. Not checking for compatibility." else echo "Will check for failures" fi
run
|
edit
|
history
|
help
1
a shell script to say good morning/afternoon/evening
yes
V
"<script>alert(1);</script>
projet
wallcmd
hadikhan
Matrix addition, subtraction and multiplication
gsup awk
How do I view all available HDD's/partitions?