[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bash Shell Parameter Expansion
From: |
tolugboji |
Subject: |
Bash Shell Parameter Expansion |
Date: |
Sat, 09 Oct 2021 14:06:31 +0000 |
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, October 9th, 2021 at 1:51 PM, Reuti <reuti@staff.uni-marburg.de>
wrote:
> > Am 09.10.2021 um 15:43 schrieb tolugboji via help-bash@gnu.org:
> >
> > What is wrong with tho following bash function?
> >
> > parade-parexpan ()
> >
> > {
> >
> > ${param:="Hilbert Transform"}
>
> This will be executed after parameter expansion. You need a null-command:
>
> : ${param:="Hilbert Transform"}
>
> -- Reuti
Thank you so very much Reuti
> > echo "$param"
> >
> > }
> >
> > I keep getting
> >
> > Hilbert: command not found
> >
> > Hilbert Transform
- Bash Shell Parameter Expansion, tolugboji, 2021/10/09
- Re: Bash Shell Parameter Expansion, Reuti, 2021/10/09
- Bash Shell Parameter Expansion,
tolugboji <=
- Re: Bash Shell Parameter Expansion, Dennis Williamson, 2021/10/09
- Re: Bash Shell Parameter Expansion, Greg Wooledge, 2021/10/09
- Re: Bash Shell Parameter Expansion, Chet Ramey, 2021/10/09
- Bash Shell Parameter Expansion, tolugboji, 2021/10/09
- Re: Bash Shell Parameter Expansion, Kusalananda Kähäri, 2021/10/09
- Bash Shell Parameter Expansion, tolugboji, 2021/10/09
- Re: Bash Shell Parameter Expansion, Greg Wooledge, 2021/10/09
- Re: Bash Shell Parameter Expansion, Alex fxmbsw7 Ratchev, 2021/10/09