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:45:02 +0100

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]