读取列表中的值

4年以前  |  阅读数:371 次  |  编程语言:Shell 
#!/bin/bash

# basic for command
for test in Alabama Alaska Arizona
do
    echo The next state is $test
done

Copyright© 2013-2020

All Rights Reserved 京ICP备2023019179号-8