[vox-tech] perl rename
Brian E. Lavender
brian at brie.com
Thu Sep 3 10:14:45 PDT 2015
Shell command that does the following.
rename "s/^/foo/" *.txt
It's on Debian.
On Wed, Sep 02, 2015 at 10:15:34PM -0700, Jeff Newmiller wrote:
> Your question baffles me.
>
> The rename function is built-in to perl.
>
> There is also File::Copy if you are concerned about portability.
> ---------------------------------------------------------------------------
> Jeff Newmiller The ..... ..... Go Live...
> DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go...
> Live: OO#.. Dead: OO#.. Playing
> Research Engineer (Solar/Batteries O.O#. #.O#. with
> /Software/Embedded Controllers) .OO#. .OO#. rocks...1k
> ---------------------------------------------------------------------------
> Sent from my phone. Please excuse my brevity.
>
> On September 2, 2015 9:56:51 PM PDT, "Brian E. Lavender" <brian at brie.com> wrote:
> >Anyone know where to the find the perl rename command on Fedora?
> >
> >brian
> >--
> >Brian Lavender
> >http://www.brie.com/brian/
> >
> >"There are two ways of constructing a software design. One way is to
> >make it so simple that there are obviously no deficiencies. And the
> >other
> >way is to make it so complicated that there are no obvious
> >deficiencies."
> >
> >Professor C. A. R. Hoare
> >The 1980 Turing award lecture
> >_______________________________________________
> >vox-tech mailing list
> >vox-tech at lists.lugod.org
> >http://lists.lugod.org/mailman/listinfo/vox-tech
>
> _______________________________________________
> vox-tech mailing list
> vox-tech at lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
--
Brian Lavender
http://www.brie.com/brian/
"There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the other
way is to make it so complicated that there are no obvious deficiencies."
Professor C. A. R. Hoare
The 1980 Turing award lecture
More information about the vox-tech
mailing list