Link to home
Start Free TrialLog in
Avatar of uluttrell
uluttrell

asked on

ls arg list too long

Greetings experts,

This is not a homework assignment.  I have the following assignment in my script:
my @reportfiles = `/usr/bin/ls *.day | grep -v 00.day`;    

This yields sh: /usr/bin/ls: arg list too long

How do I correct this?

TIA for your help.
ASKER CERTIFIED SOLUTION
Avatar of gripe
gripe

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of uluttrell
uluttrell

ASKER

Thank you gripe.