[wp-trac] [WordPress Trac] #41658: Renaming unit test files with underscore in their names.

WordPress Trac noreply at wordpress.org
Fri Aug 18 09:59:28 UTC 2017


#41658: Renaming unit test files with underscore in their names.
------------------------------+---------------------
 Reporter:  stephdau          |       Owner:  pento
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.9
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:                    |     Focuses:
------------------------------+---------------------

Comment (by pento):

 Side note: I could've done it manually, but writing a command to do it for
 me was much more interesting, even if it took twice as long.

 {{{
 for i in `find . -name *_*`; do svn mv $i `echo $i | sed -e
 's/_\([a-z]\)/\U\1/g'`; done
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41658#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list