Two Laptop Bag*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "syntax error near `=~ Watch "syntax error near `=~ New topic
Author

syntax error near `=~'

sriinu reddy
Greenhorn

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



please.help me out..

regards
srinu
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923


works for me on bash.


http://home.arcor.de/hirnstrom/bewerbung
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: syntax error near `=~'