i1st version for a. pl print each line