[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #!shebang
From: |
Greg Wooledge |
Subject: |
Re: #!shebang |
Date: |
Wed, 20 Nov 2024 08:59:58 -0500 |
On Wed, Nov 20, 2024 at 14:49:09 +0100, #!microsuxx wrote:
> u can replace eval with declare , or any other builtin i think ..
No, that is not equivalent. With the quotes:
hobbit:~$ declare "a=( $(<z) )"; args "${a[@]}"
1 args: <( -foo
# a whole line comment
-file="a file with spaces"
-bar # an inline comment
-q )>
Or without the quotes:
hobbit:~$ declare a=( $(<z) ); args "${a[@]}"
16 args: <-foo> <#> <a> <whole> <line> <comment> <-file="a> <file> <with>
<spaces"> <-bar> <#> <an> <inline> <comment> <-q>
Neither one does what I want. What is your *actual* proposal?
- #!shebang, lacsaP Patatetom, 2024/11/20
- Re: #!shebang, Andreas Kähäri, 2024/11/20
- Re: #!shebang, Greg Wooledge, 2024/11/20
- Re: #!shebang, #!microsuxx, 2024/11/20
- Re: #!shebang,
Greg Wooledge <=
- Re: #!shebang, #!microsuxx, 2024/11/20
- Re: #!shebang, Greg Wooledge, 2024/11/20
- Re: #!shebang, #!microsuxx, 2024/11/20
- Re: #!shebang, Greg Wooledge, 2024/11/20
- Re: #!shebang, Reuti, 2024/11/20
- Re: #!shebang, #!microsuxx, 2024/11/20
- Re: #!shebang, #!microsuxx, 2024/11/20
- Re: #!shebang, #!microsuxx, 2024/11/20