Re: 2.0.10 released

Ondra Kudlik <[email protected]> Thu, 8 Sep 2005 10:54:32 +0200
Newsgroups gmane.comp.sysutils.backup.hdup.general
Message-ID <20050908085432.GC11422@bender>
Thu, Sep 08, 2005 ve 10:02:39AM +0200, Miek Gieben napsal:
> [On 08 Sep, @09:27, Ondra Kudlik wrote in "Re: [hdup-user] 2.0.10 release ..."]
> > Sat, Aug 06, 2005 ve 09:35:28PM +0200, Miek Gieben napsal:
> > >   [bugs]
> > >   * Used bfbtester to make hdup more robust
> > >   * Bug #23: -s <file> (specific restore) is working again
> > >   * Set default prefix back to /usr
> > >   * Use \0 as a delimeter when creating the filelist. Tar
> > >     is now called with --null.
> > How can I with ease read the filelist? I need to tune my regexs and
> > don't know how to work with files with NUL delimiter.
> 
> You want to edit the list and write it back? Because reading
> the file can still be done. I'm not sure but maybe you can
> replace \0 with \n using sed? Writing it back may be more
> difficult, but sed may be your friend again :)

No. I only need to read this file. I'm not sure if my regex work
good so I need to examine this file.

Yes, I found out how to do this with sed:

sed -u -r 's/\o000/\n/g' filelist > readable_filelist

but there is big problem. It looks like sed working with lines, so
it is very very very slow :(

Also, is there any possilibity to add hdup parametr which output
only filelist and than do nothing? Maybe also with switch to output
standard \n filelist for debugging :) I think that when somebody
need to use regular expression, there is need to view if everything
works good.

Thanks 

-- 
 .''`. Ondra 'Kepi' Kudlik
: :' : Debian GNU/Linux User
`. `'
  `-   http://www.nosoftwarepatents.com/cz/m/intro/index.html