[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calling function from various files
From: |
Eduardo Bustamante |
Subject: |
Re: Calling function from various files |
Date: |
Mon, 12 Apr 2021 19:57:36 -0700 |
On Mon, Apr 12, 2021 at 7:49 PM <michael-franzese@gmx.com> wrote:
>(...)
> Here is the code
>
> ./colr-tools.sh
> termi-colr-wheel ()
> { declare -rA tis=([cols]="$(tput cols)")
> echo "* ${tis[cols]} }
This isn't valid Bash code, the curly braces are misplaced.
> ./fractr-test/colr-fractr.sh
> scout-terminfo-colours {echo "** ${tis[cols]}"}
This isn't valid either.
Could you re-send your code, and make sure that it's properly
formatted? Also, do you mind explaining what you expect to see and
why?
It's easier to help you with your problem if we take these obstacles
out of the way.
- Calling function from various files, michael-franzese, 2021/04/12
- Re: Calling function from various files, Lawrence Velázquez, 2021/04/12
- Re: Calling function from various files,
Eduardo Bustamante <=
- Using Associative Arrays declared in functions, michael-franzese, 2021/04/13
- Re: Using Associative Arrays declared in functions, Alex fxmbsw7 Ratchev, 2021/04/13
- Re: Using Associative Arrays declared in functions, michael-franzese, 2021/04/13
- Re: Using Associative Arrays declared in functions, Alex fxmbsw7 Ratchev, 2021/04/13
- Re: Using Associative Arrays declared in functions, michael-franzese, 2021/04/13
- Re: Using Associative Arrays declared in functions, Alex fxmbsw7 Ratchev, 2021/04/13
- Re: Using Associative Arrays declared in functions, michael-franzese, 2021/04/13
- Re: Using Associative Arrays declared in functions, Alex fxmbsw7 Ratchev, 2021/04/13