Add notes about oneliners helpful for code deduplication
This commit is contained in:
parent
75d5a488c8
commit
5bd5f01699
6
TODO
6
TODO
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user