in reply to system call how-to

How about,

perl -e 'system whatis => </usr/bin/*>'

Gleh, that's what could happen if you just woke up and tried to do something before your mind was completely clear :-) I mean this,

$ perl -e 'chdir shift || "/usr/bin"; system whatis => <*>'
No wonder the first code gave me strange output :D
Update: fixed the snip, and added this update note.

Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!