All pastes #472257 Raw Edit

Someone

public shellscript v1 · immutable
·published 2007-05-05 13:11 UTC
rendered paste body
#!/bin/basharr=()j=0IFS=''PWD=`pwd`DIR=$1if [ "x$DIR" != "x" ] ; then   cd $DIRfifor i in `ls -1` ; do   if [ -d "$i" ] ; then      arr[$j]=$i      j=`expr $j + 1`   fidonels --color=auto -d ${arr[@]}if [ "x$DIR" != "x" ] ; then   cd $PWDfi