[LUGOS] lista samih direktorijev
Gregor Berginc
gregor.berginc at gmail.com
Wed Aug 2 10:38:26 CEST 2006
Zivjo,
> Kako to izvesti?
> Oziroma, kako počistiti odvečne znake?
Morda takole:
#!/bin/bash
FILES=$(ls -d */)
for file in $FILES
do
echo $(basename $file)
done
--
Gregor Berginc, Ph.D. Student
University of Ljubljana, Faculty of CIS
Trzaska 25, SI-1001 Ljubljana, Slovenia
tel: +386 1 4776630, fax: +386 1 4264647
www: http://vicos.fri.uni-lj.si/gregor
More information about the lugos-list
mailing list