6 lines
101 B
Bash
6 lines
101 B
Bash
#!/bin/bash
|
|
|
|
mv $1 $1.last
|
|
tail -999 $1.last > $1.last_1000
|
|
cat $2 >> $1.last_1000
|
|
mv $1.last_1000 $2 |