bash oom problem

Mikkel mikkel at infinity-ltd.com
Tue Oct 6 18:41:39 UTC 2009


psmith wrote:
> 
> for a in {A..Z}; \
> do for b in {A..Z}; \
> do for c in {A..Z}; \
> do for d in {A..Z}; \
> do for e in {A..Z}; \
> do for f in {A..Z}; \
> do for g in {A..Z}; \
> do for h in {A..Z}; \
> do echo $a$b$c$d$e$f$g$h; \
> done;done;done;done;done;done;done;done; > wl1
> 
> now i've just got to wait for the new hard drives to arrive and also
> work out how to get it to start outputting a different file every 2GB or
> so :-)
> 
> thanks again
> phil
> 
Well, if you are willing to setting for a specific count, instead of
size, you could change the last line to:

done;done;done;done;done;done;done;done; > wl1.$a$b$c$d

or

done;done;done;done;done;done;done;done; > $a$b$c$d.w11

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20091006/758be5ad/attachment-0001.bin 


More information about the users mailing list