linux-tutorial/codes/shell/示例脚本/逻辑控制/使用双引号圈起用空格分隔的字符串.sh

8 lines
135 B
Bash
Raw Normal View History

2019-05-10 11:17:57 +08:00
#!/bin/bash
# another example of how not to use the for command
for test in Newada "New Hampshire"
do
echo "Now going to $test"
done