12 namespace Symfony\Component\Finder\Adapter;
41 $command->
ins(
'sort')->add(
'| sort');
57 throw new \InvalidArgumentException(sprintf(
'Unknown sort options: %s.',
$sort));
63 ->arg($format.
' %h/%f\\n')
83 return parent::buildFindCommand($command, $dir)->add(
'-regextype posix-extended');
91 foreach ($contains as $contain) {
96 ->
add(
'| xargs -I{} -r grep -I')
97 ->add($expr->isCaseSensitive() ? null :
'-i')
98 ->add($not ?
'-L' :
'-l')
99 ->add(
'-Ee')->arg($expr->renderPattern())