标签:color element div class code ash else function style
#!/bin/bash function getdir(){ for element in `ls $1` do dir_or_file=$1"/"$element if [ -d $dir_or_file ] then getdir $dir_or_file else echo $dir_or_file fi done } root_dir="/home/test" getdir $root_dir
标签:color element div class code ash else function style
原文地址:http://www.cnblogs.com/lovychen/p/7126557.html