#!/usr/bin/perl $basedir = "/home/dast/rockbox-build/daily-build"; sub list { $dir = shift @_; opendir(DIR, "$basedir/$dir") or die "Can't opendir($basedir/$dir)"; @tarballs = sort grep { /^a/ } readdir(DIR); closedir DIR; print "\n"; } print "\n"; print "
playerrecorderfmrecorder
\n"; &list("player"); print "\n"; &list("recorder"); print "\n"; &list("fmrecorder"); print "
\n";