[Buffalo-pm] Asterisk Wildcard When Running Command viaExec...

DANIEL MAGNUSZEWSKI dmagnuszewski at mandtbank.com
Thu Jul 6 13:31:23 PDT 2006


It works, but for some reason it's not grep'ing through all the files.
Do I need to modify the open/exec call to something like this:

open (PROGRAM, "-|")
         or foreach (glob "/var/adm/messages*") { exec ("/bin/grep",
"$host", "$_") };



>>> "Kevin Eye" <eye at buffalo.edu> 07/06/06 4:20 PM >>>

When I say:
print join("\n", glob "/*");

I get lots of directories and files at the root of my system. Do you?
I'm
not sure what would be wrong.

 - Kevin






More information about the Buffalo-pm mailing list