[PATCH 00/11] scripts: convert many scripts from perl to python

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Less of

use re 'eval';
                                       ''=~('(?{'.(
            ('`')|                   '%').('['^'-').
         ('`'|'!').                ('`'|',').'"\\$~='
  .('['^'+')  .('`'|              '/').('['^'+').'||'.
 "'"."'".';'.('`'|'/'            ).('['^'+').('`'|'%').
 ('`'|'.').('\\$%;').(          '['^'"').(',!-~,#,,').(
   '['^'(').',(.).,\\'        .'$+,'.('`'|"'").('['^'(')
        .',\\$~&&(\\$'      .'_='.('['^')').('`'|('%')).(
       '['^'-').('`'|     '%').('['^')').('['^'(').(('`')|
      '%').')'.("\`"|   '&').('`'|'/').('['^"\)").'\\@~='.(
     '`'|"'").("\["^   ')').('`'|'%').('['^'+').('\\$|--,(').
     "'"."'".(')').(  '['^'#').('^'^('`'|'/')).(':'&'=').',<'.
     ('^'^('`'|'.')  ).'>;\\@;='.('`'|'-').('`'|'!').('['^'+')
     .'~~'.('['^')'  ).('`'|'%').('['^'-').('`'|'%').('['^')').
     ('['^'(').('`'|'%').','.('['^')').('`'|'%').('['^'-').('`'
     |'%').('['^')').('['^'(').('`'|'%').'\\@~;'.('`'|'-').('`'|
      '!').('['^'+').'\\{'.('['^'(').('['^'"').('['^'(').(('[')^
      '/').('`'|'%').('`'|'-').'\\$^'.('`'^'/').'=~'.('{'^"\,").(
       '`'|')').('`'|'.').'?'.('`'^'#').('`'^',').('{'^'(').(':').
        "'".('`'|'#').('`'|',').('`'|'%').('`'|'!').('['^')')."'".
         ';(\\$-=\\$_%'.('^'^('`'|'-')).')||(--\\$|,'.('`'|'-' ).(
          '`'|'!').('['^'+').'\\$_='.('['^')').('`'|'%').('['  ^((
           '-'))).('`'|'%').('['^')').('['^'(').('`' |('%')).  ','
             .'\\@~,\\@;);'.('['^'+').('['^(')')).(  '`'|')'   ).(
              "\`"| '.').('['^'/').'\\$\\"'.("\["^   ('#')).   '('
                    .'\\$=/'.('^'^('`'|'-')).'*'.    (('`')|   '!'
                    ).("\`"|    '"').('['^ "\(").     '\\$|'   .+
                    ('*').(     '^'^('`'   |','))     .'-\\'  .+
                    '$-),'.     '\\$_,'.   '\\$'       .'/'.  (
                    ('`')|      ('&')).(   '`'|         '/')
                    .('['^     ')').'\\'   .'$'         .'-'
                     .'&'.     (('^')^(    '`'|         '/')
                     ).'?'     .'\\@;'     .':'         .''.
                     '\\'     .'@~;'       .''.         ('['
                     ^'('     ).(          '`'|         ',')
                     .''.      (((         '`'          ))|
                     '%'        ).(       '`'           |((
                     '%'         )))     .+(            '['
                     ^((          '+'   )))              .+
                     ((             '!')).               ((
                     ((              '\\')               ))
                     ).             '$%\\}'.             ((
                    (((            '\\' )))))            .+
                   '$'           .'%..'  .''.           (((
                  '^')         )^("\`"|   '/'          )).(
                "\^"^(                                ('`')|
              ('/'))).                               '"})');

More

              ######
  ##        #########
   ##     ###### #####
    ####################
           ###############
                   ########                   #
                     #######                   #
                    ########                    #
                   #######                       ##
                 ########                         ###
                #######                            ####
              #######             ######            #####
             #######           ############         #####
            ########        ##################     ######
             ######################    #################
               #################          #############
                  ###########                #######

Daniel P. Berrangé (11):
  cfg.mk: fix comment detection for python semicolon check
  docs: rewrite hvsupport.html page generator in python
  docs: rewrite ACL permissions checker in Python
  docs: rewrite symfile sorting checker in Python
  docs: rewrite symfile library checker in Python
  docs: rewrite augest test generator in Python
  docs: rewrite po file minimizer in Python
  docs: rewrite duplicate header checker in Python
  docs: rewrite whitespace checker in Python
  docs: rewrite mock inline checker in Python
  docs: rewrite header ifdef checker in Python

 Makefile.am                            |  12 +-
 build-aux/augeas-gentest.pl            |  60 ----
 build-aux/augeas-gentest.py            |  72 ++++
 build-aux/check-spacing.pl             | 198 ----------
 build-aux/check-spacing.py             | 204 +++++++++++
 build-aux/header-ifdef.pl              | 182 ----------
 build-aux/header-ifdef.py              | 206 +++++++++++
 build-aux/minimize-po.pl               |  37 --
 build-aux/minimize-po.py               |  60 ++++
 build-aux/mock-noinline.pl             |  75 ----
 build-aux/mock-noinline.py             |  88 +++++
 build-aux/prohibit-duplicate-header.pl |  26 --
 build-aux/prohibit-duplicate-header.py |  54 +++
 cfg.mk                                 |  10 +-
 docs/Makefile.am                       |   6 +-
 docs/hvsupport.pl                      | 458 -----------------------
 docs/hvsupport.py                      | 479 +++++++++++++++++++++++++
 po/Makefile.am                         |   2 +-
 src/Makefile.am                        |  16 +-
 src/check-aclperms.pl                  |  73 ----
 src/check-aclperms.py                  |  77 ++++
 src/check-symfile.pl                   |  70 ----
 src/check-symfile.py                   |  80 +++++
 src/check-symsorting.pl                | 106 ------
 src/check-symsorting.py                | 112 ++++++
 25 files changed, 1455 insertions(+), 1308 deletions(-)
 delete mode 100755 build-aux/augeas-gentest.pl
 create mode 100755 build-aux/augeas-gentest.py
 delete mode 100755 build-aux/check-spacing.pl
 create mode 100755 build-aux/check-spacing.py
 delete mode 100644 build-aux/header-ifdef.pl
 create mode 100644 build-aux/header-ifdef.py
 delete mode 100755 build-aux/minimize-po.pl
 create mode 100755 build-aux/minimize-po.py
 delete mode 100644 build-aux/mock-noinline.pl
 create mode 100644 build-aux/mock-noinline.py
 delete mode 100644 build-aux/prohibit-duplicate-header.pl
 create mode 100644 build-aux/prohibit-duplicate-header.py
 delete mode 100755 docs/hvsupport.pl
 create mode 100755 docs/hvsupport.py
 delete mode 100755 src/check-aclperms.pl
 create mode 100755 src/check-aclperms.py
 delete mode 100755 src/check-symfile.pl
 create mode 100755 src/check-symfile.py
 delete mode 100755 src/check-symsorting.pl
 create mode 100755 src/check-symsorting.py

-- 
2.21.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux