[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] RFC: Virtual for awk implementation
From:       Florian Philipp <lists () binarywings ! net>
Date:       2012-05-30 18:39:38
Message-ID: 4FC6696A.8050406 () binarywings ! net
[Download RAW message or body]


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



["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic