タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

shellとcomparisonに関するflummoxyのブックマーク (1)

  • Other Comparison Operators

    7.3. Other Comparison OperatorsA binary comparison operator compares two variables or quantities. Note that integer and string comparison use a different set of operators. integer comparison -eqis equal to if [ "$a" -eq "$b" ] -neis not equal to if [ "$a" -ne "$b" ] -gtis greater than if [ "$a" -gt "$b" ] -geis greater than or equal to if [ "$a" -ge "$b" ] -ltis less than if [ "$a" -lt "$b" ] -lei

  • 1