Why won't my .sh file work with cygwin?

Eric Blake eblake@redhat.com
Wed Jul 4 11:13:00 GMT 2012

On 07/03/2012 11:38 PM, Gundament wrote:

> However for some reason, when I run the .sh file it gets to the 6th line and
> then just closes abruptly when it is not supposed to.
> Once I enter the value for the "read x" command on line 6, it just closes
> the terminal.

> six={a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}

You are generating 308915776 combinations, occupying 2,162,410,431
bytes, and trying to store it all in memory at once.  You ran out of
memory.  There's nothing we can do to help you if you are bent on
crashing bash by exhausting memory.

Eric Blake   eblake@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20120704/43526110/attachment.sig>

More information about the Cygwin mailing list