Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #160743
| From | <tomas@tuxteam.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: how execute a script |
| Date | 2015-11-18 16:20 +0100 |
| Message-ID | <qwcGC-4D5-11@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <qvV33-1oM-9@gated-at.bofh.it> <qvVFN-1Tz-13@gated-at.bofh.it> <qvXxU-36Y-29@gated-at.bofh.it> <qw6hP-nn-9@gated-at.bofh.it> <qwcng-4gQ-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Nov 18, 2015 at 08:54:46AM -0600, David Wright wrote: > On Wed 18 Nov 2015 at 08:47:59 (+0100), tomas@tuxteam.de wrote: > > > Here, gunzip is seeing the file name. Since gzip, by convention, removes > > the original (and gunzip the compressed), effectively replacing each by > > the other), those programs are extra careful. The file name pattern is > > part of the interface specification. > > [...] > > > And that makes sense. In a way yes, it has two personalities: an > > "in-place" (de) compressor and a filter. The first one enforces a > > file pattern convention because it's (potentially) deleting stuff. > > > > Not that I personally like the in-place thing, mind you. I guess > > it was born out of necessity: if you are zipping a file which is > > much bigger than what you've space left on device, this interface > > makes sense. > > What you appear to be saying here is that the new version overwrites > the head of the file while the program is still reading the tail. > This doesn't happen: a new file is written and, when complete, the > old file is removed. So there's always a period when both compressed > and uncompressed versions exist simultaneously on the filesystem. What I was saying was that the interface *allows it*. Whether it's implemented this way is another question, but... watch this space. regards - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlZMjmQACgkQBcgs9XrR2kaaWwCfcGB2Ab4/eQnGWaqDl32xezkX 41sAn3z3/uQVzBsBX0EhzINKm7hnh2Ws =kCA8 -----END PGP SIGNATURE-----
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: how execute a script Martin Str|mberg <ams@ludd.luth.se> - 2015-11-16 07:00 +0100
Re: how execute a script Chris Bannister <cbannister@slingshot.co.nz> - 2015-11-16 07:30 +0100
Re: how execute a script David Wright <deblis@lionunicorn.co.uk> - 2015-11-16 20:40 +0100
Re: how execute a script Lisi Reisz <lisi.reisz@gmail.com> - 2015-11-16 23:40 +0100
Re: how execute a script <tomas@tuxteam.de> - 2015-11-17 09:30 +0100
Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 15:40 +0100
Re: how execute a script Chris Bannister <cbannister@slingshot.co.nz> - 2015-11-17 19:10 +0100
Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 19:10 +0100
Re: how execute a script Elimar Riesebieter <riesebie@lxtec.de> - 2015-11-17 19:30 +0100
Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 20:10 +0100
Re: how execute a script Brian <ad44@cityscape.co.uk> - 2015-11-17 20:00 +0100
Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 20:10 +0100
Re: how execute a script Brian <ad44@cityscape.co.uk> - 2015-11-17 21:00 +0100
Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 21:00 +0100
Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 21:10 +0100
Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 21:20 +0100
Re: how execute a script <tomas@tuxteam.de> - 2015-11-17 22:00 +0100
Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 22:20 +0100
Re: how execute a script tomas@tuxteam.de - 2015-11-17 23:10 +0100
Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 23:20 +0100
Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 23:30 +0100
Re: how execute a script tomas@tuxteam.de - 2015-11-18 09:10 +0100
Re: how execute a script John Hasler <jhasler@newsguy.com> - 2015-11-17 22:40 +0100
Re: how execute a script Brian <ad44@cityscape.co.uk> - 2015-11-17 21:30 +0100
Re: how execute a script Luis Felipe Tabera Alonso <taberalf@unican.es> - 2015-11-17 22:10 +0100
Re: how execute a script Brian <ad44@cityscape.co.uk> - 2015-11-18 00:10 +0100
Re: how execute a script Don Armstrong <don@debian.org> - 2015-11-18 01:10 +0100
Re: how execute a script <tomas@tuxteam.de> - 2015-11-18 09:30 +0100
Re: how execute a script David Wright <deblis@lionunicorn.co.uk> - 2015-11-18 16:00 +0100
Re: how execute a script <tomas@tuxteam.de> - 2015-11-18 16:20 +0100
Re: how execute a script David Wright <deblis@lionunicorn.co.uk> - 2015-11-18 16:40 +0100
Re: how execute a script David Wright <deblis@lionunicorn.co.uk> - 2015-11-17 21:20 +0100
Re: how execute a script <tomas@tuxteam.de> - 2015-11-17 22:00 +0100
Re: how execute a script Brian <ad44@cityscape.co.uk> - 2015-11-18 00:10 +0100
Re: how execute a script <tomas@tuxteam.de> - 2015-11-18 09:30 +0100
Re: how execute a script Brian <ad44@cityscape.co.uk> - 2015-11-18 13:50 +0100
Re: how execute a script <tomas@tuxteam.de> - 2015-11-17 19:20 +0100
csiph-web