help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: simpler question about my script


From: Alex fxmbsw7 Ratchev
Subject: Re: simpler question about my script
Date: Tue, 15 Feb 2022 21:51:16 +0100

had no effect

i was looking at set -x output, ... the $execvar to ssh looked fine
it says + ssh but nothing ..

ill try to recode it readable for other ppl then ask again


On Tue, Feb 15, 2022 at 9:45 PM Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com>
wrote:

> ah its left over from $' ... times
> thank you ill fix it then look further
>
> On Tue, Feb 15, 2022 at 9:36 PM Greg Wooledge <greg@wooledge.org> wrote:
>
>>
>> > On Tue, Feb 15, 2022 at 9:16 PM Greg Wooledge <greg@wooledge.org>
>> wrote:
>> >
>> > > On Tue, Feb 15, 2022 at 08:30:07PM +0100, Alex fxmbsw7 Ratchev wrote:
>> > > > bash -x run start
>> > > > + shopt -s expand_aliases
>> > > > + name=main
>> > > > + sshstart='y=~/$y
>> > >
>> > > Where is the closing single quote?
>>
>> On Tue, Feb 15, 2022 at 09:19:44PM +0100, Alex fxmbsw7 Ratchev wrote:
>> > on done' before addr='d' and myapp=backsshbash2 a few lines down
>> > one line before alias cmd
>>
>> Are you sure?  I don't think so.  Remember, \ is not special inside
>> '...' quoting.
>>
>> Here's some of the top part of your attachment for reference:
>>
>> name='main' sshstart='y=~/$y
>> touch /tmp/foo
>> [[ -d $y ]] || mkdir -p "$y"
>> cd "$y" || exec printf \'\''err cd transit\n\'\''
>>
>> Now... where is the closing single quote?
>>
>> More importantly, where is it *supposed* to be?  I cannot guess.  This
>> is all incomprehensible gibberish.  All I can say is that it looks wrong.
>>
>>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]