Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #26532
| From | Mike Amling <mamling@chaff.us> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Bash script not working as commandline MySQL JDBC |
| Date | 2013-11-17 16:09 -0600 |
| Message-ID | <best4mFjvehU1@mid.individual.net> (permalink) |
| References | <7f1a4290-6ce6-4673-a411-62dbb326ef99@googlegroups.com> <7a51917c-ccd4-4293-abf7-4d42dce215b5@googlegroups.com> |
On 11/17/13 2:38 PM, RVic wrote: > Gentleman, > > Thank each of you for your help. I got it solved by simply putting a semicolon at the end of the lone statement in the script! I've seen something very similar when using Cygwin. The editor, vim, knew it was running on Windows and provided a line ending of CRLF. Cygwin read the script and treated the CR as part of the last word on the command line. Putting a semicolon at the end protected the command's last word from being unintentionally extended. Mike Amling -- Just when we secure for ourselves the benefits of the rule of law, Murphy shows up.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
Bash script not working as commandline MySQL JDBC RVic <rvince99@hotmail.com> - 2013-11-17 08:40 -0800
Re: Bash script not working as commandline MySQL JDBC markspace <markspace@nospam.nospam> - 2013-11-17 08:56 -0800
Re: Bash script not working as commandline MySQL JDBC RVic <rvince99@hotmail.com> - 2013-11-17 09:16 -0800
Re: Bash script not working as commandline MySQL JDBC Robert Klemme <shortcutter@googlemail.com> - 2013-11-17 20:01 +0100
Re: Bash script not working as commandline MySQL JDBC Steven Simpson <ss@domain.invalid> - 2013-11-17 19:34 +0000
Re: Bash script not working as commandline MySQL JDBC RVic <rvince99@hotmail.com> - 2013-11-17 12:38 -0800
Re: Bash script not working as commandline MySQL JDBC Robert Klemme <shortcutter@googlemail.com> - 2013-11-17 22:06 +0100
Re: Bash script not working as commandline MySQL JDBC Mike Amling <mamling@chaff.us> - 2013-11-17 16:09 -0600
csiph-web