 ,      ,   
  ,  ,    -
 ,      Here:

$ cat bundle

#!/bin/bash

# bundle:     

echo "#       bash"

for i

do

echo "echo $i 1>&2"

echo "cat >$i 'End of $i'"

cat $i

echo "End of $i"
done

    ,    bundle  -
 ,    bothfiles.      -
  ,    bundle (   filel 
file2).     bothfiles     -
  .    Here   cat,  
 bothfiles   Here   :

$ cat filel

 .

   .

$ cat file2

  .

 

 .

$ bundle filel file2 > bothfiles

$ cat bothfiles

#       bash

echo filel 1>&2

cat >filel '  filel'

 .

   .

  filel

echo file2 1>&2

cat >file2 '  file2'

  .

 

 .

  file2

  filel  file2     bothfiles. -
 bothfiles      . , ,  Is -
,  bothfiles   filel  file2:

$  filel file2
$ bash bothfiles

filel
file2

 28.   Bourne Again Shell                                897