Mashiane Expert Licensed User Longtime User Mar 25, 2019 #1 Hi there I want to merge some css files and im sure these have duplicates. Is there something that already exists in b4x that I can use to parse css. I want to pass it a file names for the css and it will find duplicates rules i.e 100% match. I want to create a single file from a merge of two or more css files without duplicate rules? Thanks
Hi there I want to merge some css files and im sure these have duplicates. Is there something that already exists in b4x that I can use to parse css. I want to pass it a file names for the css and it will find duplicates rules i.e 100% match. I want to create a single file from a merge of two or more css files without duplicate rules? Thanks
MarkusR Well-Known Member Licensed User Longtime User Mar 25, 2019 #2 did they have the same origin? there are some (free) tools to compare files for differences usually for source codes for merge changes. win merge, Beyond Compare it shows differences and you can swap rows between left & right. Upvote 0
did they have the same origin? there are some (free) tools to compare files for differences usually for source codes for merge changes. win merge, Beyond Compare it shows differences and you can swap rows between left & right.
Mashiane Expert Licensed User Longtime User Mar 26, 2019 #3 MarkusR said: it shows differences and you can swap rows between left & right Click to expand... Thanks, its two different css files that almost 80% contain the same css rules, for example, one file might have a 98% css rule that matches the other file css rule. So I need to find identical css rules (these could be anywhere on the file), for those css rules that are 98% same, indicate and merge the rest to a single file. Been using the comparison tools but I need code to parse the files myself and manipulate. Ta! Upvote 0
MarkusR said: it shows differences and you can swap rows between left & right Click to expand... Thanks, its two different css files that almost 80% contain the same css rules, for example, one file might have a 98% css rule that matches the other file css rule. So I need to find identical css rules (these could be anywhere on the file), for those css rules that are 98% same, indicate and merge the rest to a single file. Been using the comparison tools but I need code to parse the files myself and manipulate. Ta!
Mashiane Expert Licensed User Longtime User Mar 27, 2019 #4 Fortunately the source files are sass, so I was referred to http://koala-app.com to merge the saas files and then recompile, everything is working as expected so far. Ta! Upvote 0
Fortunately the source files are sass, so I was referred to http://koala-app.com to merge the saas files and then recompile, everything is working as expected so far. Ta!