[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: line 50 : unexpected end of file - cant find the fault ..
From: |
alex xmb sw ratchev |
Subject: |
Re: line 50 : unexpected end of file - cant find the fault .. |
Date: |
Fri, 16 Aug 2024 15:19:43 +0200 |
On Fri, Aug 16, 2024, 15:15 Chet Ramey <chet.ramey@case.edu> wrote:
> On 8/16/24 6:26 AM, alex xmb sw ratchev wrote:
> > i was coding and now my script ( to run / log ollama ( open source ai sw
> )
> > ) but i got error unexpected end of file , and i cant find the fault
> > i searched for matching ' , " , { / } , $ , no luck ..
> > it is 49 lines long
>
> Why not run with `bash -x' and see how far it gets before erroring.
>
oh , cool , .. i misthought it wouldnt do anything
looks like it doesnt define the function .. ?
~ $ bash -x xmbashuserin.5
+ shopt -s expand_aliases extglob
+ a=(o=' ollama ' oh=' o help ' 00=' stdbuf -i 0 -o 0 -e 0 -- ' 1d='
OLLAMA_DEBUG=0 OLLAMA_SCHED_SPREAD=1 OLLAMA_FLASH_ATTENTION=1
OLLAMA_NUM_PARALLEL=1 ' 1=' 1d o serve ' 11=' 00 1 ' 111=' 11
&>>~/ollama.log & ' 1-=' pkill -x ollama serve ' 2=' o run ' 22=' 00 2 '
222=' 2 ' 3=' 2 qwen2 ' 4=' 2 llama3.1 ' 5=' ollog ' ol=' 5 ' run=" $* ")
+ alias -- 'o= ollama ' 'oh= o help ' '00= stdbuf -i 0 -o 0 -e 0 -- ' '1d=
OLLAMA_DEBUG=0 OLLAMA_SCHED_SPREAD=1 OLLAMA_FLASH_ATTENTION=1
OLLAMA_NUM_PARALLEL=1 ' '1= 1d o serve ' '11= 00 1 ' '111= 11
&>>~/ollama.log & ' '1-= pkill -x ollama serve ' '2= o run ' '22= 00 2 '
'222= 2 ' '3= 2 qwen2 ' '4= 2 llama3.1 ' '5= ollog ' 'ol= 5 ' 'run= '
xmbashuserin.5: line 53: syntax error: unexpected end of
file
~ $
--
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
> ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
>
- Re: line 50 : unexpected end of file - cant find the fault .., (continued)
- Re: line 50 : unexpected end of file - cant find the fault .., alex xmb sw ratchev, 2024/08/16
- Re: line 50 : unexpected end of file - cant find the fault .., Greg Wooledge, 2024/08/16
- Re: line 50 : unexpected end of file - cant find the fault .., alex xmb sw ratchev, 2024/08/16
- Re: line 50 : unexpected end of file - cant find the fault .., alex xmb sw ratchev, 2024/08/16
- Re: line 50 : unexpected end of file - cant find the fault .., alex xmb sw ratchev, 2024/08/16
- Re: line 50 : unexpected end of file - cant find the fault .., Greg Wooledge, 2024/08/16
- Re: line 50 : unexpected end of file - cant find the fault .., alex xmb sw ratchev, 2024/08/16
- Re: line 50 : unexpected end of file - cant find the fault .., Greg Wooledge, 2024/08/16
- Re: line 50 : unexpected end of file - cant find the fault .., alex xmb sw ratchev, 2024/08/16
Re: line 50 : unexpected end of file - cant find the fault .., Chet Ramey, 2024/08/16
- Re: line 50 : unexpected end of file - cant find the fault ..,
alex xmb sw ratchev <=