2010年6月27日星期日

Bash for loop

#!/bin/bash
for i in $( ls ); do
echo item: $i
done


http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-7.html

没有评论:

发表评论