in reply to pipe output to perl

At the end...

perl -pe 'END{print "XXX"} s/^/XXX\n/' file perl -ple 'END{print "XXX"} print "XXX"' file perl -lane 'END{print "XXX"} print "XXX\n$F[0]"' file

hth,

PooLpi

'Ebry haffa hoe hab im tik a bush'. Jamaican proverb