[vox-tech] perl rename

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Thu Sep 3 10:46:35 PDT 2015


It was your modifier term "perl" that confused me, particularly when the OS distribution was included. In retrospect, I can see why this made sense to you, but describing it as a "rename Perl script" would have helped.
---------------------------------------------------------------------------
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 3, 2015 10:14:45 AM PDT, "Brian E. Lavender" <brian at brie.com> wrote:
>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
>_______________________________________________
>vox-tech mailing list
>vox-tech at lists.lugod.org
>http://lists.lugod.org/mailman/listinfo/vox-tech



More information about the vox-tech mailing list