tech2040 has asked for the wisdom of the Perl Monks concerning the following question:
Greetings all,
I have a quick question.
I am working on a few prototype functions and need some help. Using UNIX, I am usine the following script to sort image files:
find ./Images | egrep '\.jpe?g$'
1. Is there any way to use this script in perl? (I have alredy tried "system")
2. Is there a perl based alternative?
Any help will be greatly appreciated.
Formatting and code tags added by davido, per consideration.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: shell to perl question
by b10m (Vicar) on Aug 18, 2005 at 07:41 UTC | |
by inman (Curate) on Aug 18, 2005 at 07:51 UTC | |
by tlm (Prior) on Aug 18, 2005 at 11:38 UTC | |
|
Re: shell to perl question
by salva (Canon) on Aug 18, 2005 at 08:15 UTC | |
by reasonablekeith (Deacon) on Aug 18, 2005 at 08:40 UTC | |
by TimToady (Parson) on Aug 18, 2005 at 17:51 UTC | |
|
Re: shell to perl question
by merlyn (Sage) on Aug 18, 2005 at 13:59 UTC | |
|
Re: shell to perl question
by zentara (Cardinal) on Aug 18, 2005 at 13:48 UTC |