Re: bash oom problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux