0
点赞
收藏
分享

微信扫一扫

shell 脚本之循环输出多个语句

gy2006_sw 2022-06-06 阅读 46

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

举报

相关推荐

0 条评论