Re: Instant flush to file

2024-06-18 Thread Michael Kjörling
On 18 Jun 2024 21:17 +0800, from j...@tls-mail.com (Jeff Peng): > I ask this b/c some commands following echo cannot run well. > > Such as, > > echo … >> dove.db > doveadm create mailbox from dove.db > > Sometimes it succeeds. Sometimes it fails. > > If I add a line like this: > > echo … >> do

Re: Instant flush to file

2024-06-18 Thread Greg Wooledge
On Tue, Jun 18, 2024 at 21:17:07 +0800, Jeff Peng wrote: > After write to file with bash shell like: > > echo … > file > echo … >> file > > Is it possible the file get no update instantly? No. Each of those commands opens the file (the first one opens it for write, the second opens it for appen