Proper appending
This commit is contained in:
parent
3cb71891b6
commit
98bfaa4e4a
@ -1,5 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
truncate -s 0 $1
|
||||||
mv $1 $1.last
|
mv $1 $1.last
|
||||||
tail -999 $1.last > $1.last_1000
|
tail -999 $1.last > $1.last_1000
|
||||||
cat $2 >> $1.last_1000
|
cat $2 >> $1.last_1000
|
||||||
|
Loading…
Reference in New Issue
Block a user