ループ
    Top > Linux > sh
    (1) Specify start and end of the loop.
    ループの始まりと終わりを指定する
    Output:
    (2) Use variables for start and end of the loop.
    ループの始まりと終わりに変数を用いる
    Output:
    (3) Loop for the components of a string separated by spaces.
    スペースで別れた文字列の要素に対してループを掛ける
    Output:
    (4) Count the number of lines in a text file.
    テキストファイルの行数を数える
    Sample text file (sample.txt): サンプルテキストファイル (sample.txt): Success 成功 Output: Failure (1) Counter not updated 失敗(1) カウンターが更新されない Output: Failure (2) Incorrect number of lines 失敗(2) 誤った行数