Someone
public shellscript v1 · immutable#!/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