[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: feature request : at ' unexpected end of fille ' error msg append al
From: |
alex xmb sw ratchev |
Subject: |
Re: feature request : at ' unexpected end of fille ' error msg append also the still-open direcrive |
Date: |
Wed, 21 Aug 2024 15:56:04 +0200 |
( the fix was run=" ${*:- : } "
On Wed, Aug 21, 2024, 3:51 PM alex xmb sw ratchev <fxmbsw7@gmail.com> wrote:
>
>
> On Wed, Aug 21, 2024, 3:04 PM Chet Ramey <chet.ramey@case.edu> wrote:
>
>> On 8/21/24 6:42 AM, alex xmb sw ratchev wrote:
>> >
>> >
>> > On Tue, Aug 20, 2024, 9:43 PM Chet Ramey <chet.ramey@case.edu
>> > <mailto:chet.ramey@case.edu>> wrote:
>> >
>> > On 8/16/24 6:04 PM, alex xmb sw ratchev wrote:
>> > > aand .. chet , do u think this error on ' ' empty alias is right
>> , or
>> > > rather update to that it doesnt error
>> >
>> > If you give me a small reproducer, I'll look.
>> >
>> >
>> > i couldnt
>> > the problem was that an empty alias caused the error
>> > on a new .bash file , i tried simply such but it didnt error
>>
>> Well, if you have something that reproduces the problem and doesn't have
>> a lot of other stuff to obscure it, let me know.
>>
>
> thank you , sir ..
> i copied problematic script
> removed one cryptic function
> and looks not complicated anymore ..
>
> shopt ..
> aliases_array=( .. )
> alias -- thatarray@
> func check
> check && run
>
> thats the last elem in the array
> run=" $* "
> .. the problemic ( when run )
> ( is the only element that uses any $ dollarsign var , others are like
> plain text )
>
> bash empty_alias_error.bash # to run
>
> empty_alias_error.bash: line 39: syntax error: unexpected end of file
>
> thank you ..
>
> --
>> ``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: feature request : at ' unexpected end of fille ' error msg append also the still-open direcrive, (continued)
- Re: feature request : at ' unexpected end of fille ' error msg append also the still-open direcrive, Chet Ramey, 2024/08/16
- Re: feature request : at ' unexpected end of fille ' error msg append also the still-open direcrive, alex xmb sw ratchev, 2024/08/16
- Re: feature request : at ' unexpected end of fille ' error msg append also the still-open direcrive, Chet Ramey, 2024/08/16
- Re: feature request : at ' unexpected end of fille ' error msg append also the still-open direcrive, alex xmb sw ratchev, 2024/08/16
- Re: feature request : at ' unexpected end of fille ' error msg append also the still-open direcrive, alex xmb sw ratchev, 2024/08/16
- Re: feature request : at ' unexpected end of fille ' error msg append also the still-open direcrive, alex xmb sw ratchev, 2024/08/16
- Re: feature request : at ' unexpected end of fille ' error msg append also the still-open direcrive, Chet Ramey, 2024/08/20
- Re: feature request : at ' unexpected end of fille ' error msg append also the still-open direcrive, alex xmb sw ratchev, 2024/08/21
- Re: feature request : at ' unexpected end of fille ' error msg append also the still-open direcrive, Chet Ramey, 2024/08/21
- Re: feature request : at ' unexpected end of fille ' error msg append also the still-open direcrive, alex xmb sw ratchev, 2024/08/21
- Re: feature request : at ' unexpected end of fille ' error msg append also the still-open direcrive,
alex xmb sw ratchev <=
- Re: feature request : at ' unexpected end of fille ' error msg append also the still-open direcrive, alex xmb sw ratchev, 2024/08/21
- Re: feature request : at ' unexpected end of fille ' error msg append also the still-open direcrive, Greg Wooledge, 2024/08/21
- Re: feature request : at ' unexpected end of fille ' error msg append also the still-open direcrive, Chet Ramey, 2024/08/21
- Re: feature request : at ' unexpected end of fille ' error msg append also the still-open direcrive, alex xmb sw ratchev, 2024/08/21