How to print ASCII value of a character using basic awk only. - by Venkataramesh Kommoju I need to print the ASCII value of the given charecter in awk only. the below gives 0 as output. echo a | awk '{ printf("%d \n",$1); }' Help please. Read the article