function color(fc,bc)
# 0:bk 1:rd 2:gr 3:yl 4:bl 5:mg 6:sy 7:wt
{
printf("\033[1;3%d;4%dm",fc,bc);
}

BEGIN{
color(1,0)
print "test text1"
color(5,0)
print "test text2"
}




戻る