Friday, 11 January 2013

Unix/MarkLogic: Getting a sorted list of all Forests from a MarkLogic support dump

Here's a method for getting a sorted list of all forests from a MarkLogic support dump:
grep "forest-name" support-request-go.txt | sed -e 's/^[ \t]*//' | sort | uniq

No comments: