#!/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