📌  相关文章
📜  检查字符串是否相等 shell - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:50.011000             🧑  作者: Mango

代码示例1
#!/bin/bash

VAR1="Linuxize"
VAR2="Linuxize"

if [ "$VAR1" = "$VAR2" ]; then
    echo "Strings are equal."
else
    echo "Strings are not equal."
fi