#! /usr/bin/env bash # # Replace timestamps of the form "2013-03-27" with Xs sed 's/[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}/XXXX-XX-XX/'