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

2012-07-04 Thread David Sastre Medina
Completely unrelated to your script problem but you should definitely take a look at pwgen (there's a cygwin package). -- Primary key fingerprint: AD8F BDC0 5A2C FD5F A179 60E7 F79B AB04 5299 EC56 signature.asc Description: Digital signature

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

2012-07-04 Thread Andy Koppe
On 4 July 2012 11:04, Thorsten Kampe wrote: > * Gundament (Tue, 3 Jul 2012 22:38:36 -0700 (PDT)) >> >> I am new to Cygwin but I understand it does it's best to simulate a >> linux terminal. > > No. "Cygwin is: a collection of tools which provide a Linux look and > feel environment for Windows." htt

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

2012-07-04 Thread Eric Blake
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

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

2012-07-04 Thread Thorsten Kampe
* Gundament (Tue, 3 Jul 2012 22:38:36 -0700 (PDT)) > > I am new to Cygwin but I understand it does it's best to simulate a > linux terminal. No. "Cygwin is: a collection of tools which provide a Linux look and feel environment for Windows." http://cygwin.com/ > I want to make a little program

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

2012-07-03 Thread Gundament
I am new to Cygwin but I understand it does it's best to simulate a linux terminal. I want to make a little program and I have written out the entire code and saved it as a ".sh" file. I have paired my Windows computer to open .sh files with Cygwin's mintty.exe (terminal) However for some reaso