|
cat bungu pencil 20 24 ball_pen 60 11 sign_pen 90 0 eraser 40 7 notebook 150 18 report_pad 200 5 cellophane_tape 120 9 stapler 300 0 binder 450 5 scissors 350 2 cutter_knife 290 0 floppy_disk 65 20 pencil 20 24 ball_pen 60 11 eraser 40 7 notebook 150 18 report_pad 200 5 cellophane_tape 120 9 binder 450 5 scissors 350 2 floppy_disk 65 20 pencil ball_pen eraser notebook report_pad cellophane_tape binder scissors floppy_disk awk '$1 == "pencil" ' bungu pencil 20 24 awk '/pen/' bungu pencil 20 24 ball_pen 60 11 sign_pen 90 0 awk 'BEGIN { print "\t\t ORDER" ; print " " } \ $3 > 0 { printf("%20s %10d \n",$1,$3) }' bungu ORDER pencil 24 ball_pen 11 eraser 7 notebook 18 report_pad 5 cellophane_tape 9 binder 5 scissors 2 floppy_disk 20 cat seiseki Ai 12 67 Ichiro 15 95 Kazu 8 75 Koji 12 91 Naoko 14 83 Ryoko 14 85 Shunsuke 14 76 Suzu 13 88 Takeshi 10 64 Taro 14 97 Yasuhiro 11 53 Yukihiro 15 87 |