[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: simpler question about my script
From: |
Greg Wooledge |
Subject: |
Re: simpler question about my script |
Date: |
Tue, 15 Feb 2022 15:36:24 -0500 |
> 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.
- simpler question about my script, Alex fxmbsw7 Ratchev, 2022/02/15
- Re: simpler question about my script, Greg Wooledge, 2022/02/15
- Re: simpler question about my script, Alex fxmbsw7 Ratchev, 2022/02/15
- Re: simpler question about my script, Alex fxmbsw7 Ratchev, 2022/02/15
- Re: simpler question about my script,
Greg Wooledge <=
- Re: simpler question about my script, Alex fxmbsw7 Ratchev, 2022/02/15
- Re: simpler question about my script, Alex fxmbsw7 Ratchev, 2022/02/15
- Re: simpler question about my script, Alex fxmbsw7 Ratchev, 2022/02/15
- Re: simpler question about my script, Alex fxmbsw7 Ratchev, 2022/02/15
- Re: simpler question about my script, Alex fxmbsw7 Ratchev, 2022/02/15
- Re: simpler question about my script, Alex fxmbsw7 Ratchev, 2022/02/15
- Re: simpler question about my script, Alex fxmbsw7 Ratchev, 2022/02/15
- Re: simpler question about my script, Dennis Williamson, 2022/02/15
- Re: simpler question about my script, Alex fxmbsw7 Ratchev, 2022/02/15
- Re: simpler question about my script, Alex fxmbsw7 Ratchev, 2022/02/15