New answers tagged

1

Even though this is an old question, it seems to me it's a perennial question, and a more general, clearer solution is available than has been suggested so far. Credit where credit is due: I'm not sure I would have come up with it without considering St├ęphane Chazelas's mention of the <> update operator. Opening a file for update in a Bourne shell ...



Top 50 recent answers are included