#!/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 "
player | recorder | fm recorder | 8MB recorder |
---|---|---|---|
\n"; &list("player"); print " | \n"; &list("recorder"); print " | \n"; &list("fmrecorder"); print " | \n"; &list("recorder8mb"); print " |