LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-30-2012, 03:50 AM   #1
avistasiahaan
LQ Newbie
 
Registered: May 2012
Posts: 2

Rep: Reputation: Disabled
error near unexpected token `('


I'm trying to put command $ diff btusb.c btusb.c.old 122,123d121 < { USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 }, < { USB_DEVICE(0x04ca, 0x3004), .driver_info = BTUSB_ATH3012 }, $ diff ath3k.c ath3k.c.old 73,74d72 < { USB_DEVICE(0x13d3, 0x3375) }, < { USB_DEVICE(0x04ca, 0x3004) }, 91,92d88 < { USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 }, < { USB_DEVICE(0x04ca, 0x3004), .driver_info = BTUSB_ATH3012 }
and i get syntax error near unexpected token `('
what's wrong with my command ?
 
Old 05-30-2012, 04:21 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Is that one command or several? Are you entering it at the command prompt?
 
Old 05-30-2012, 05:51 AM   #3
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,007

Rep: Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192
Please use [code][/code] tags and place each command on its own line.

Maybe if you would also explain what you are attempting to do we may be of more help?
 
Old 05-30-2012, 11:05 AM   #4
avistasiahaan
LQ Newbie
 
Registered: May 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
well actually i don't know what command are they. but the goal is to patch kernel (is it ?) to make bluetooth device in my aspire s3 works. any suggestion ?
 
Old 05-30-2012, 11:18 AM   #5
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
It looks like you're trying to run a diff, as well as the output of the diff, as a command. Where did you get these commands? It sounds like somebody just posted their diff results and you're trying to run the output as if it's a command.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unexpected token error. lorinfarr Linux - Newbie 2 11-06-2011 04:00 PM
Syntax error near unexpected token :( please help mikejosh Programming 4 01-29-2010 06:54 AM
syntax error near unexpected token `fi' divyashree Programming 2 09-30-2009 09:51 AM
syntax error near unexpected token deskjockey39 Linux - General 2 01-16-2007 08:47 AM
syntax error near unexpected token ` mattyspatty Programming 8 05-07-2006 05:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration