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