in reply to Re: Pattern replace in a file name
in thread Pattern replace in a file name
the problem with your suggestion is it truncates the file path after the first instance of a digit, so my output looks like
/fd/gfree/tere/frf4
/fd/gfree/tere/frf4
/fd/gfree/tere/frf4
Whereas I wanted the output to be
/fd/gfree/tere/frf4545/geerg/fds/0.1
/fd/gfree/tere/frf4545/geerg/dfds/5.9
/fd/gfree/tere/frf4545/geerg/dsad/02.44
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Pattern replace in a file name
by hippo (Bishop) on Mar 28, 2019 at 09:47 UTC | |
by kaushik9918 (Sexton) on Mar 28, 2019 at 09:52 UTC | |
Re^3: Pattern replace in a file name
by hdb (Monsignor) on Mar 28, 2019 at 09:41 UTC |
In Section
Seekers of Perl Wisdom