Cannot find “unexpected token” causing syntax error The Next CEO of Stack OverflowBash : syntax error near unexpected token ' done 'syntax error near unexpected token `<'syntax error near unexpected token `fi'syntax error near unexpected token `('syntax error near unexpected token 'else' and possible incorrect indentationsBash: Syntax error - Unexpected near token 'else'How to loop through the files extracted by a find command and pass is as input to another command?Error “syntax error near unexpected token `('?”Nested case in bash scriptsyntax error near unexpected token `do

Free fall ellipse or parabola?

How do I secure a TV wall mount?

Why was Sir Cadogan fired?

Are British MPs missing the point, with these 'Indicative Votes'?

What does this strange code stamp on my passport mean?

What day is it again?

Another proof that dividing by 0 does not exist -- is it right?

How dangerous is XSS

Do I need to write [sic] when including a quotation with a number less than 10 that isn't written out?

Find the majority element, which appears more than half the time

What steps are necessary to read a Modern SSD in Medieval Europe?

Cannot restore registry to default in Windows 10?

Could a dragon use its wings to swim?

Create custom note boxes

"Eavesdropping" vs "Listen in on"

Calculating discount not working

Incomplete cube

Salesforce opportunity stages

Variance of Monte Carlo integration with importance sampling

Man transported from Alternate World into ours by a Neutrino Detector

How should I connect my cat5 cable to connectors having an orange-green line?

Calculate the Mean mean of two numbers

Why can't we say "I have been having a dog"?

Can you teleport closer to a creature you are Frightened of?



Cannot find “unexpected token” causing syntax error



The Next CEO of Stack OverflowBash : syntax error near unexpected token ' done 'syntax error near unexpected token `<'syntax error near unexpected token `fi'syntax error near unexpected token `('syntax error near unexpected token 'else' and possible incorrect indentationsBash: Syntax error - Unexpected near token 'else'How to loop through the files extracted by a find command and pass is as input to another command?Error “syntax error near unexpected token `('?”Nested case in bash scriptsyntax error near unexpected token `do










1















Could somebody help a greenhorn to identify this syntax error?
Or should I just retype it ?



The "configure" script I am analyzing has other , similar code, and they all work fine.



Error



./configure-ex-2: line 13548: syntax error near unexpected token `('
./configure-ex-2: line 13548: `$as_echo_n "@line $LINENO BUG here syntax (?) checking for $ac_word... " >&6; }'


code snippet



 set dummy lcov;
ac_word=$2

$as_echo "$as_me:$as_lineno-$LINENO: checking for $ac_word" >&5

$as_echo_n "@line $LINENO BUG here systax (?) checking for $ac_word... " >&6;

echo "@line $LINENO BUG here syntax (?) **************************************************"


if $ac_cv_prog_enable_coverage+: false; then :
$as_echo_n "(cached) " >&6
else
if test -n "$enable_coverage"; then
ac_cv_prog_enable_coverage="$enable_coverage" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do









share|improve this question









New contributor




anne is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Could you add the line numbers to your snippet if possible, or just single out line 13548? Also what is $as_echo?

    – Jesse_b
    2 days ago











  • A configure script is usually generated from a configure.ac file by autoconf. There is probably an error in that file. Parsing errors in shell scripts may turn out to be related to a missing quote or parenthesis somewhere way before the reported line number. Would you mind sharing the script that autoconf reads?

    – Kusalananda
    2 days ago
















1















Could somebody help a greenhorn to identify this syntax error?
Or should I just retype it ?



The "configure" script I am analyzing has other , similar code, and they all work fine.



Error



./configure-ex-2: line 13548: syntax error near unexpected token `('
./configure-ex-2: line 13548: `$as_echo_n "@line $LINENO BUG here syntax (?) checking for $ac_word... " >&6; }'


code snippet



 set dummy lcov;
ac_word=$2

$as_echo "$as_me:$as_lineno-$LINENO: checking for $ac_word" >&5

$as_echo_n "@line $LINENO BUG here systax (?) checking for $ac_word... " >&6;

echo "@line $LINENO BUG here syntax (?) **************************************************"


if $ac_cv_prog_enable_coverage+: false; then :
$as_echo_n "(cached) " >&6
else
if test -n "$enable_coverage"; then
ac_cv_prog_enable_coverage="$enable_coverage" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do









share|improve this question









New contributor




anne is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Could you add the line numbers to your snippet if possible, or just single out line 13548? Also what is $as_echo?

    – Jesse_b
    2 days ago











  • A configure script is usually generated from a configure.ac file by autoconf. There is probably an error in that file. Parsing errors in shell scripts may turn out to be related to a missing quote or parenthesis somewhere way before the reported line number. Would you mind sharing the script that autoconf reads?

    – Kusalananda
    2 days ago














1












1








1








Could somebody help a greenhorn to identify this syntax error?
Or should I just retype it ?



The "configure" script I am analyzing has other , similar code, and they all work fine.



Error



./configure-ex-2: line 13548: syntax error near unexpected token `('
./configure-ex-2: line 13548: `$as_echo_n "@line $LINENO BUG here syntax (?) checking for $ac_word... " >&6; }'


code snippet



 set dummy lcov;
ac_word=$2

$as_echo "$as_me:$as_lineno-$LINENO: checking for $ac_word" >&5

$as_echo_n "@line $LINENO BUG here systax (?) checking for $ac_word... " >&6;

echo "@line $LINENO BUG here syntax (?) **************************************************"


if $ac_cv_prog_enable_coverage+: false; then :
$as_echo_n "(cached) " >&6
else
if test -n "$enable_coverage"; then
ac_cv_prog_enable_coverage="$enable_coverage" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do









share|improve this question









New contributor




anne is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












Could somebody help a greenhorn to identify this syntax error?
Or should I just retype it ?



The "configure" script I am analyzing has other , similar code, and they all work fine.



Error



./configure-ex-2: line 13548: syntax error near unexpected token `('
./configure-ex-2: line 13548: `$as_echo_n "@line $LINENO BUG here syntax (?) checking for $ac_word... " >&6; }'


code snippet



 set dummy lcov;
ac_word=$2

$as_echo "$as_me:$as_lineno-$LINENO: checking for $ac_word" >&5

$as_echo_n "@line $LINENO BUG here systax (?) checking for $ac_word... " >&6;

echo "@line $LINENO BUG here syntax (?) **************************************************"


if $ac_cv_prog_enable_coverage+: false; then :
$as_echo_n "(cached) " >&6
else
if test -n "$enable_coverage"; then
ac_cv_prog_enable_coverage="$enable_coverage" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do






shell-script






share|improve this question









New contributor




anne is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




anne is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 2 days ago









Jesse_b

14.3k23574




14.3k23574






New contributor




anne is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 days ago









anneanne

1061




1061




New contributor




anne is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





anne is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






anne is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Could you add the line numbers to your snippet if possible, or just single out line 13548? Also what is $as_echo?

    – Jesse_b
    2 days ago











  • A configure script is usually generated from a configure.ac file by autoconf. There is probably an error in that file. Parsing errors in shell scripts may turn out to be related to a missing quote or parenthesis somewhere way before the reported line number. Would you mind sharing the script that autoconf reads?

    – Kusalananda
    2 days ago


















  • Could you add the line numbers to your snippet if possible, or just single out line 13548? Also what is $as_echo?

    – Jesse_b
    2 days ago











  • A configure script is usually generated from a configure.ac file by autoconf. There is probably an error in that file. Parsing errors in shell scripts may turn out to be related to a missing quote or parenthesis somewhere way before the reported line number. Would you mind sharing the script that autoconf reads?

    – Kusalananda
    2 days ago

















Could you add the line numbers to your snippet if possible, or just single out line 13548? Also what is $as_echo?

– Jesse_b
2 days ago





Could you add the line numbers to your snippet if possible, or just single out line 13548? Also what is $as_echo?

– Jesse_b
2 days ago













A configure script is usually generated from a configure.ac file by autoconf. There is probably an error in that file. Parsing errors in shell scripts may turn out to be related to a missing quote or parenthesis somewhere way before the reported line number. Would you mind sharing the script that autoconf reads?

– Kusalananda
2 days ago






A configure script is usually generated from a configure.ac file by autoconf. There is probably an error in that file. Parsing errors in shell scripts may turn out to be related to a missing quote or parenthesis somewhere way before the reported line number. Would you mind sharing the script that autoconf reads?

– Kusalananda
2 days ago











0






active

oldest

votes












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






anne is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f509605%2fcannot-find-unexpected-token-causing-syntax-error%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








anne is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















anne is a new contributor. Be nice, and check out our Code of Conduct.












anne is a new contributor. Be nice, and check out our Code of Conduct.











anne is a new contributor. Be nice, and check out our Code of Conduct.














Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f509605%2fcannot-find-unexpected-token-causing-syntax-error%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.