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