bash / mercurial / shellCrie um resumo do changeset do Mercurial no formato JSON#!/bin/bashOUT="changesets.json"echo "[" > $OUThg log | grep "^changeset:" | sed 's/changeset.*:/ "/g' | sed 's/$/",/g' | sed '$s/,$//' >> $OUTecho ']' >> $OUT