Jan 9, 2008 #1 M mobile-it Advanced Member level 1 Joined Apr 24, 2004 Messages 464 Helped 22 Reputation 44 Reaction score 8 Trophy points 1,298 Activity points 3,344 Cygwin Scripting Hi all, I have a problem reading in some user input to my scripts in cygwin (I am learning it...) when I do: $Read inputUser Test $echo $inputUser he returns me the word Test But: When I build a script #!/bin/sh # Shows how to read a line from stdin `read userinput` echo $userinput and run it it doesn't work... I am starting to learn making scripts... thanks for your help
Cygwin Scripting Hi all, I have a problem reading in some user input to my scripts in cygwin (I am learning it...) when I do: $Read inputUser Test $echo $inputUser he returns me the word Test But: When I build a script #!/bin/sh # Shows how to read a line from stdin `read userinput` echo $userinput and run it it doesn't work... I am starting to learn making scripts... thanks for your help
Jan 10, 2008 #2 M mobile-it Advanced Member level 1 Joined Apr 24, 2004 Messages 464 Helped 22 Reputation 44 Reaction score 8 Trophy points 1,298 Activity points 3,344 Re: Cygwin Scripting ok; I know what the problem was. I wrote the script in notepad from windows... If I write it in nano wich is into the cygwin everything works #!/bin/sh read name echo $name
Re: Cygwin Scripting ok; I know what the problem was. I wrote the script in notepad from windows... If I write it in nano wich is into the cygwin everything works #!/bin/sh read name echo $name
Jan 16, 2008 #3 well-read Member level 1 Joined Jan 13, 2008 Messages 34 Helped 1 Reputation 2 Reaction score 0 Trophy points 1,286 Activity points 1,410 Cygwin Scripting Oh, where can i download Cygwin?
Jan 20, 2008 #4 M mobile-it Advanced Member level 1 Joined Apr 24, 2004 Messages 464 Helped 22 Reputation 44 Reaction score 8 Trophy points 1,298 Activity points 3,344 Re: Cygwin Scripting www.cygwin.com or by using google where it's for...