1
0
mirror of synced 2026-04-10 06:26:33 +00:00

Add notes about oneliners helpful for code deduplication

This commit is contained in:
Axel Beckert
2012-06-05 19:59:40 +02:00
parent 75d5a488c8
commit 5bd5f01699

6
TODO
View File

@@ -169,6 +169,12 @@ Bugs to fix and features to add for 5.0
step would be to have just one file for similar stuff with a few
if-then-elses in there.
Common oneliners for code deduplication in the hooks/ directory:
$ find -L . -not -xtype l -not -type d -not -path '*/common/*' | sort -t / -k3
$ fdupes -r1 . | sort -t / -k3
$ find . -type f | sim_text -ipTt 50 | tac | column -t
* Use Perl::Critic
Stuff from Steve's TODO list / Generic TODOs