X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-10.3 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4FF42540.1080908@redhat.com> Date: Wed, 04 Jul 2012 05:13:04 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Why won't my .sh file work with cygwin? References: <34111361 DOT post AT talk DOT nabble DOT com> In-Reply-To: <34111361.post@talk.nabble.com> OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigC0715D69804A348C44E40721" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --------------enigC0715D69804A348C44E40721 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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. >=20 > Once I enter the value for the "read x" command on line 6, it just closes > the terminal. > six=3D{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. --=20 Eric Blake eblake AT redhat DOT com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enigC0715D69804A348C44E40721 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJP9CVBAAoJEKeha0olJ0NqK8IH/iAOYkwDO9Mt51S42vVPk7n1 G8Z8Xpk9gx9WZlRgy8YWMrhsG9NGH3bblRBLQev6X61+iHkt24LKEYPGQTLn+3z4 6lz59qT3xu5sJVHcg/+wlS5SqDFFbLcX/BP3z6PETUJY6IZv3NaUZcF248jbw34j ZX2z2gJ1Hjik6Hi1xdGXXEFqmS7KntMpfERkjO1AlwUBufK+6BShsYpl5D1ipFkC oMG+aDgiB7wniXlYlomjhCQeLcBBssu07ayhbjxPQZY5csdgEF5/qbRW8bKYcTf1 IaTg0MH4licu45xsvlwxv9Sbr8Te4riXJHI0846MN1yiG+vHC0MOAZLePZKSW3M= =pUED -----END PGP SIGNATURE----- --------------enigC0715D69804A348C44E40721--