From Perl – backticks 

my @files = `find ...`;               # trailing \n


my @files = map { chomp } `find ...`; # all "1"s


my @files = map { chomp; $_ } `find ...`;


my @files = map { s/\n//r } `find ...`;