Believe it or not, I can\'t find the answer to what I would think would be this very basic question.
In awk, how can I loop over the input string character by charac
if you have gawk:
awk '$0=gensub(/(.)/,"\\1\n","g")' file
test:
kent$ echo "I am a String"|awk '$0=gensub(/(.)/,"\\1\n","g")' I a m a S t r i n g