Eu tenho um bashscript que usa grep com awk da seguinte forma:
#ec2-describe-instances | grep -i instance | awk '{print "Creating -> " $3; system("ec2-create-image " $2 " --name " $3 "-$(date +%F) --no-reboot ")}'
Infelizmente, p...
23.05.2014 / 15:54