Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- path1="mydir/**"
- path2="mydir/testing"
- [ [ "$path2" =~ "$path1" ] ] && echo "Matches"
- mydir/test/dir
- mydir/othertest/dir
- assets/bin/copymain: line 8: [: too many arguments
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement