This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Linux / UNIX and the fly likes syntax error near `=~' Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "syntax error near `=~ Watch "syntax error near `=~ New topic

syntax error near `=~'

sriinu reddy

Joined: Mar 10, 2009
Posts: 11
Hi ,
I am new to shell scripting
please let me know what is wrong with the following script

i am getting the following error with the above script me out..

Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

works for me on bash.
I agree. Here's the link:
subject: syntax error near `=~'