Programming by Demonstration systems often have problems with control structure inference and
user-intended generalization. We propose a new solution for these weaknesses based on concepts of AWK
and present a prototype system for text processing. It utilizes "vertical demonstration", extensive visual
feedback, and program visualization via spreadsheets to achieve improved usability and expressive power.