package Psh
::Builtins
::Forfile
;
=item * C<forfile globpattern command>
Comparable to the sh-for command:
for i in globpattern; do command $i; done
The current filename will be assigned to $_
my @files= Psh
::OS
::glob(Psh
::Parser
::unquote
($words[0]));
foreach my $file (@files) {
$command= join(' ',@words[1..$#words]);
Psh
::evl
("\$\_=\"$file\"; $command");