// description of your code here
for f in `ls *.gif`; do convert $f histogram:- | sed -n '/^Comment={/,/^}/{ s///; /^$/q; s/^ *//; p; }' | cat>>color_table.txt; done;