cw.lua.in: give a local variable a better name.
cw.lua.in: remove duplicate misplaced comment
cw.lua.in: use posix.pipeline_iterator to simplify code
cw.lua.in: use table.remove to simplify code slightly
cw.lua.in: update purpose field to match new formatting better.
cw.lua.in: fix usage message appearing if no arguments given