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

8 lines
135 B
Bash

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