エントリーの編集
![loading...](https://b.st-hatena.com/bdefb8944296a0957e54cebcfefc25c4dcff9f5f/images/v4/public/common/loading@2x.gif)
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
![アプリのスクリーンショット](https://b.st-hatena.com/bdefb8944296a0957e54cebcfefc25c4dcff9f5f/images/v4/public/entry/app-screenshot.png)
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
BASH Programming - Introduction HOW-TO: 参照テーブル
次のページ 前のページ 目次へ 11. 参照テーブル 11.1 文字列比較演算子 (1) s1 = s2 s1 と s2 が同一 (... 次のページ 前のページ 目次へ 11. 参照テーブル 11.1 文字列比較演算子 (1) s1 = s2 s1 と s2 が同一 (2) s1 != s2 s1 と s2 が同一でない (3) s1 < s2 作成中 (4) s1 > s2 作成中 (5) -n s1 s1 が null でない(一文字以上を含んでいる) (6) -z s1 s1 が null である 11.2 文字列比較の実例 ふたつの文字列を比較する #!/bin/bash S1='string' S2='String' if [ $S1=$S2 ]; then echo "S1('$S1') is not equal to S2('$S2')" fi if [ $S1=$S1 ]; then echo "S1('$S1') is equal to S1('$S1')" fi ここで、上記の if [ $1 =
2008/09/01 リンク