#!/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
微信扫一扫
#!/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
相关推荐