#!/bin/sh aws ecs list-task-definitions --output text | cut -f2 | grep -oP '(?<=:task-definition/)[^:]+' | sort -u