True Human Design
 
Forum / Read Thread


 87 views
 1 replies

andrew feature request: partial comparizon 2019-04-09 22:16:55
Hi. I would like to advise the following feature for partial comparing:

glogg tool contains a dialog based window which allows adding regular expressions for coloring purposes.

there is a common task for comparing long structured logs which sometimes/often takes more attention because before comparing we have to apply some stuff like below to minimize the output:

for filename in ./*.txt; do
sed -E 's/^\[([0-9]{4})\-([0-9]{2})\-([0-9]{2})\s([0-9]{2})\:([0-9]{2})\:([0-9]{2})\.([0-9]{3})\]\s//' -i $filename
sed -E 's/(([A-Z]{1}[a-z]{2}\s{1,2}){2}[0-9]\s[0-9]{2}:[0-9]{2}:[0-9]{2}\s[0-9]{4})//' -i $filename
done

The code above removes text. But my advice is to filter it out from the difference in a diff-view-window.

so if this might be helpful for you, it would be great to see the way to remove non-important parts of files from the comparison. and the ability to save the list of rules independently for app instance and files.

wish you good luck. may be i'd like to participate in this. Do you plan any plugins engine? code?



Anders Re: feature request: partial comparizon 2019-04-14 15:21:04
Admin:
Hi, and thank you for the feedback, it is an interesting idea but probably not something we will spend time on now. There are no plans for plugins at the moment but it could possibly something for the future.