經安全檢測,此網站為安全網站,請放心前往原始網址!

linux - BASH - How do I compare two string variables in an if ...

2010年11月25日 - I'm trying to get an if statement to work in bash (using ubuntu): #!/bin/bash s1="hi" s2="hi" if ["$s1" == "$s2"] then echo match fi. I've tried various ...

stackoverflow.com

網址安全性掃描由 google 提供