Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not properly translate $#/${#} to (count $argv) #20

Open
nazarewk opened this issue Feb 13, 2023 · 1 comment · May be fixed by #39
Open

Does not properly translate $#/${#} to (count $argv) #20

nazarewk opened this issue Feb 13, 2023 · 1 comment · May be fixed by #39
Labels
bug Something isn't working

Comments

@nazarewk
Copy link

TL;DR

> echo 'echo $# ${#} ${#@}' | babelfish
echo $# $# (count $argv)

Expected behavior

> echo 'echo $# ${#} ${#@}' | babelfish 
(count $argv) (count $argv) (count $argv)

Observed behavior

> echo 'echo $# ${#} ${#@}' | babelfish
echo $# $# (count $argv)

Terraform Configuration

?

Terraform Version

?

Additional information

It translates only the argument count syntax I've never encountered before

@nazarewk nazarewk added the bug Something isn't working label Feb 13, 2023
@Neved4 Neved4 linked a pull request Jan 14, 2025 that will close this issue
@Neved4
Copy link
Contributor

Neved4 commented Jan 14, 2025

@nazarewk This is fixed on my branch. Could you grab it from there and double check it works for ur use case? Cheers! ✌🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants