zoneminder icon indicating copy to clipboard operation
zoneminder copied to clipboard

Increase the usage of expressions with combined operators

Open elfring opened this issue 4 years ago • 2 comments

:eyes: Some source code analysis tools can help to find opportunities for improving software components. :thought_balloon: I propose to increase the usage of combined operators accordingly.

Would you like to integrate anything from a transformation result which can be generated by a command like the following? (:point_right: Please check also for questionable change suggestions because of an evolving search pattern.)

lokal> perl -p -i.orig -0777 -e 's#(?<target>\$\S+)\s*=\s*\k<target>[ \t]*(?<operator>[+/%^.]|-(?!>)|&(?!&)|\|(?!\|)|\*\*?|<<|>>|\?\?)#$+{target} $+{operator}=#gm' $(find ~/Aktivitäten/ZoneMinder/lokal -name '*.php')

:crystal_ball: How will development interests evolve further also according to update candidates in 51 lines of this software?

elfring avatar Nov 23 '21 09:11 elfring

I'm sorry.. it's been almost a year.. I don't remember seeing this before and I don't understand what you are proposing.

connortechnology avatar Sep 24 '22 22:09 connortechnology

… and I don't understand what you are proposing.

elfring avatar Sep 25 '22 06:09 elfring