tr '\n' '\0' < check.txt | xargs -0 -r ls -alc --
Adapted from https://unix.stackexchange.com/questions/65584/how-to-execute-command-on-list-of-file-names-in-a-file
tr '\n' '\0' < check.txt | xargs -0 -r ls -alc --
Adapted from https://unix.stackexchange.com/questions/65584/how-to-execute-command-on-list-of-file-names-in-a-file