#!/bin/bash for str in 'this is a string' 'she is beautiful girl' 'hello,world' do echo $str done 输出结果: this is a string she is beautiful girl hello,world
12-03
5874
02-23
7864
12-08
7134