Perl search and replace hangs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • unixuser
    New Member
    • Aug 2006
    • 1

    Perl search and replace hangs

    hello everyone,
    if no files exist for the wild card' piece of the following command, running in unix the command just hangs .....

    perl -i -p -e 's/xxxxxxxxx/yyyyyyyyyyy/g' `find . -name "*.abc" -exec grep -l "xxxxxxxxx" {} /dev/null \;`

    Any suggestions?

    Thanks!
Working...