Bug#373282: moreutils: sponge -p/--preserve option

2006-06-14 Thread Tollef Fog Heen
severity 373282 wishlist thanks Lars Wirzenius skrev: Attached is a patch against moreutils to add a -p/--preserve option to sponge that prevents it from modifying the output if the input is identical. This means that something like this: generate-web-page | sponge -p

Bug#373282: moreutils: sponge -p/--preserve option

2006-06-14 Thread Joey Hess
Lars Wirzenius wrote: Attached is a patch against moreutils to add a -p/--preserve option to sponge that prevents it from modifying the output if the input is identical. This means that something like this: generate-web-page | sponge -p ~/public_html/index.html no longer results

Bug#373282: moreutils: sponge -p/--preserve option

2006-06-14 Thread Lars Wirzenius
ke, 2006-06-14 kello 02:28 -0400, Joey Hess kirjoitti: Fraid the use of mkstemp, besides having the permissions portability problems documented on its man page, means that all files this version of sponge touches come out mode 600. Oh, yeah, I forgot to fix that. Bummer. Doing a chmod umask

Bug#373282: moreutils: sponge -p/--preserve option

2006-06-13 Thread Lars Wirzenius
Package: moreutils Version: 0.11 Tags: patch Attached is a patch against moreutils to add a -p/--preserve option to sponge that prevents it from modifying the output if the input is identical. This means that something like this: generate-web-page | sponge -p ~/public_html/index.html