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