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
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 `=~'
It's not a secret anymore!