diziet
Active Member
- Messages
- 542
Here is a copy of my post to my linux distro mailing list:
i have some .json files, they have lots (hundreds to thousands) of blocks of
text starting with indented { and finishing with idented }, between them are
values/keys - not sure of the terminology - i need to search within a file for
blocks where some of the values are the same and then delete those 'duplicate'
blocks, and also between files for blocks where certain values are the same.
this is way out of my bash scripting league so i need help please.
is there a tool for this sort of thing?
Anyone here have some ideas?
i have some .json files, they have lots (hundreds to thousands) of blocks of
text starting with indented { and finishing with idented }, between them are
values/keys - not sure of the terminology - i need to search within a file for
blocks where some of the values are the same and then delete those 'duplicate'
blocks, and also between files for blocks where certain values are the same.
this is way out of my bash scripting league so i need help please.
is there a tool for this sort of thing?
Anyone here have some ideas?