Let's say that I have 3 files in a directory:
apple.txt:
apple
beehive.txt:
beehive
zebra.txt:
zebra
If I concatenate this files with:
cat *.txt > all_files.txt
I do get:
apple
beehive
zebra
(I tested it on 5 files too, and I get the same behavior),
But my is this behavior guaranteed?