Thursday, 4 April 2013

readpipe command

@s=readpipe(ls);
for($i=0;$i<@s;$i++)
{
if ( $s[$i] =~ /sam/ )
{
print $s[$i];
}
}

No comments:

Post a Comment