Re: RFS: truncate (now it's free, for real!)

2004-03-09 Thread Luca Pasquali
On Tue, Mar 09, 2004 at 05:21:05PM +0100, Thomas Viehmann wrote: > Maybe you could try reimplementing (some) of that as a shell script > using dd. That way, you'd cut down on the packaging overhead. Also, > if > there's more stuff like that, it might eventually be worth > considering > having a pac

Re: RFS: truncate (now it's free, for real!)

2004-03-09 Thread Andreas Metzler
On 2004-03-09 Luca Pasquali <[EMAIL PROTECTED]> wrote: [...] > and now a strange, dumb-sounding request: > if you mentors have better/more useful "packaging exercises" to > suggest me, I'll welcome the advices, it may be a strange request but > I'm not a programmer, I mainly use console to do netwo

Re: RFS: truncate (now it's free, for real!)

2004-03-09 Thread Thomas Viehmann
Luca Pasquali wrote: [... about truncate...] Maybe you could try reimplementing (some) of that as a shell script using dd. That way, you'd cut down on the packaging overhead. Also, if there's more stuff like that, it might eventually be worth considering having a package for the whole bunch. > I'

Re: RFS: truncate (now it's free, for real!)

2004-03-09 Thread Luca Pasquali
On Mon, Mar 08, 2004 at 10:46:21PM -0800, Matt Zimmerman wrote: > Is something so trivial worth packaging? It sounds like it doesn't > do > anything that dd doesn't. I've packaged it with newbies in mind, and on the fly resizing, situation in which redudnancy of dd features could be excused. > I

Re: RFS: truncate (now it's free, for real!)

2004-03-09 Thread Luca Pasquali
On Tue, Mar 09, 2004 at 05:21:05PM +0100, Thomas Viehmann wrote: > Maybe you could try reimplementing (some) of that as a shell script > using dd. That way, you'd cut down on the packaging overhead. Also, > if > there's more stuff like that, it might eventually be worth > considering > having a pac

Re: RFS: truncate (now it's free, for real!)

2004-03-09 Thread Andreas Metzler
On 2004-03-09 Luca Pasquali <[EMAIL PROTECTED]> wrote: [...] > and now a strange, dumb-sounding request: > if you mentors have better/more useful "packaging exercises" to > suggest me, I'll welcome the advices, it may be a strange request but > I'm not a programmer, I mainly use console to do netwo

Re: RFS: truncate (now it's free, for real!)

2004-03-09 Thread Thomas Viehmann
Luca Pasquali wrote: [... about truncate...] Maybe you could try reimplementing (some) of that as a shell script using dd. That way, you'd cut down on the packaging overhead. Also, if there's more stuff like that, it might eventually be worth considering having a package for the whole bunch. > I'

Re: RFS: truncate (now it's free, for real!)

2004-03-09 Thread Luca Pasquali
On Mon, Mar 08, 2004 at 10:46:21PM -0800, Matt Zimmerman wrote: > Is something so trivial worth packaging? It sounds like it doesn't > do > anything that dd doesn't. I've packaged it with newbies in mind, and on the fly resizing, situation in which redudnancy of dd features could be excused. > I

Re: RFS: truncate (now it's free, for real!)

2004-03-09 Thread Michael Mayer
On Tue, Mar 09, 2004 at 09:09:05 +, Thomas Viehmann wrote: > Not if you read the man page: > dd if=/dev/null of=totruncate bs=1 seek=positiontotruncate Oh! You are right, this works. But unfortunatly this behavior is not explained clearly in my manpage :-( Only a flag "notrunc" is mentioned:

Re: RFS: truncate (now it's free, for real!)

2004-03-09 Thread Thomas Viehmann
Michael Mayer ([EMAIL PROTECTED]) wrote: > >On Mon, Mar 08, 2004 at 22:46:21 -0800, Matt Zimmerman wrote: >> Is something so trivial worth packaging? It sounds like it doesn't do >> anything that dd doesn't. > >Oh, yes, it is worth it! In fact, some month ago I wrote a tool like this >for my perso

Re: RFS: truncate (now it's free, for real!)

2004-03-09 Thread Michael Mayer
On Mon, Mar 08, 2004 at 22:46:21 -0800, Matt Zimmerman wrote: > Is something so trivial worth packaging? It sounds like it doesn't do > anything that dd doesn't. Oh, yes, it is worth it! In fact, some month ago I wrote a tool like this for my personal use to cut movie files which are slightly to

Re: RFS: truncate (now it's free, for real!)

2004-03-09 Thread Michael Mayer
On Tue, Mar 09, 2004 at 09:09:05 +, Thomas Viehmann wrote: > Not if you read the man page: > dd if=/dev/null of=totruncate bs=1 seek=positiontotruncate Oh! You are right, this works. But unfortunatly this behavior is not explained clearly in my manpage :-( Only a flag "notrunc" is mentioned:

Re: RFS: truncate (now it's free, for real!)

2004-03-09 Thread Thomas Viehmann
Michael Mayer ([EMAIL PROTECTED]) wrote: > >On Mon, Mar 08, 2004 at 22:46:21 -0800, Matt Zimmerman wrote: >> Is something so trivial worth packaging? It sounds like it doesn't do >> anything that dd doesn't. > >Oh, yes, it is worth it! In fact, some month ago I wrote a tool like this >for my perso

Re: RFS: truncate (now it's free, for real!)

2004-03-09 Thread Matt Zimmerman
On Fri, Mar 05, 2004 at 08:15:54AM +0100, Luca Pasquali wrote: > author put it under GPL, new debs are here: > > http://ketavet.dyndns.org/truncate Is something so trivial worth packaging? It sounds like it doesn't do anything that dd doesn't. If I've misunderstood and this does more, could yo

Re: RFS: truncate (now it's free, for real!)

2004-03-08 Thread Michael Mayer
On Mon, Mar 08, 2004 at 22:46:21 -0800, Matt Zimmerman wrote: > Is something so trivial worth packaging? It sounds like it doesn't do > anything that dd doesn't. Oh, yes, it is worth it! In fact, some month ago I wrote a tool like this for my personal use to cut movie files which are slightly to

Re: RFS: truncate (now it's free, for real!)

2004-03-08 Thread Matt Zimmerman
On Fri, Mar 05, 2004 at 08:15:54AM +0100, Luca Pasquali wrote: > author put it under GPL, new debs are here: > > http://ketavet.dyndns.org/truncate Is something so trivial worth packaging? It sounds like it doesn't do anything that dd doesn't. If I've misunderstood and this does more, could yo

RFS: truncate (now it's free, for real!)

2004-03-05 Thread Luca Pasquali
author put it under GPL, new debs are here: http://ketavet.dyndns.org/truncate -- Luca Pasquali <[EMAIL PROTECTED]> http://ketavet.dyndns.org gnupg key fingerprint = A149 BCDF E19B 75DB 1A0D 1060 A19F FFFB 4684 E718 signature.asc Description: Digital signature

RFS: truncate (now it's free, for real!)

2004-03-04 Thread Luca Pasquali
author put it under GPL, new debs are here: http://ketavet.dyndns.org/truncate -- Luca Pasquali <[EMAIL PROTECTED]> http://ketavet.dyndns.org gnupg key fingerprint = A149 BCDF E19B 75DB 1A0D 1060 A19F FFFB 4684 E718 signature.asc Description: Digital signature