lkml.org 
[lkml]   [1999]   [Jan]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: scary ext2 filesystem question
Zlatko Calusic <Zlatko.Calusic@CARNet.hr> wrote:
> It's tedious job after that, to go and delete those unwanted zeroes
> from the files, and I would be much happier if FS would indeed behave
> like you're saying (lose here and there, but do NOT corrupt data).

It needn't be tedious:

perl -ni -e 'print unless /\0/' filenames...

[This assumes that no null characters should show up in those files].

--
Raul

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.074 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site