neither you need ls:ls | perl -nE'chomp; say $_ if -d $_'
perl -E'for (<*>) {say $_ if -d $_}'
In reply to Re: ls piped tpo perl -pe runs indefintely
by zwon
in thread ls piped tpo perl -pe runs indefintely
by ISAI student
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |