Am 30.05.2012 20:29, schrieb Florian Philipp:
> 
> mkdir -p mkdir /tmp/foo; find "$HOME" -type f -printf '%f %s\n' | \
>       gawk '{ print $2 > "/tmp/foo/" $1 }'
> 
> --> Fills /tmp/foo with small files
> 
> mkdir -p mkdir /tmp/foo; find "$HOME" -type f -printf '%f %s\n' | \
>       mawk '{ print $2 > "/tmp/foo/" $1 }'
> 
> --> Crashes with error 'mawk: cannot open "/tmp/foo/7B090d01" for output
> (Too many open files)'
> 
> Probably not the cleverest approach to this but just a reminder that
> there are still subtle differences.
> 
> That being said, +1 for giving the choice.
> 
> Regards,
> Florian Philipp

s/mkdir -p mkdir/mkdir -p/g


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to