Загрузка данных


#!/usr/bin/env bash
for i in {1..10}; do
  echo "file$i.txt" > "file$i.txt"
done
find . -maxdepth 1 -name "*.txt" -exec cat {} \;