perl -pe 'BEGIN { $\ = ", $ARGV[0]\n" } chomp' abc.txt