mawk cannot handle records separated by nulls, such as for example the
ones generated by find. Only the first record is handled:

% mkdir mawk-fails
% cd mawk-fails
%mawk-fails touch a b c
%mawk-fails find -printf "%p\0"|mawk 'BEGIN {RS="\0"} {print}' 
.

gawk works:

%mawk-fails find -printf "%p\0"|gawk 'BEGIN {RS="\0"} {print}'                  
                                 
.
./a
./b
./c



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to