kansas-city-pm-list  

Re: Sweeping Directories

D. Hageman
Sun, 21 Jul 2002 23:59:23 -0700

On Sun, 21 Jul 2002, david nicol wrote:

> One nifty thing you can do with pipe is use -print0 which
> will zero-delilmit the file names instead of putting each on its own
> line.  It is NOT POSSIBLE to have a \0 within a file name.

This is incorrect.  It is completely possible to have a \0 in a filename.  
Simple experiment ... 

[dhageman@typhon dhageman]$ vim '\0'
[dhageman@typhon dhageman]$ ls -l
total 252
-rw-rw-r--    1 dhageman dhageman        0 Jul 22 01:36 \0

Now the likelihood of encountering such is actually very small.

-- 
//========================================================\\
||  D. Hageman                    <[EMAIL PROTECTED]>  ||
\\========================================================//