question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Why does text in echo / dump / write / check steps require quotes?

See original GitHub issue

This issue adds on to #241 where `variable` can be used instead of ‘+variable+’ to denote variables where text is expected.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Hassan-Ali123commented, May 21, 2020

Thanks so much

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


From: Ken Soh notifications@github.com Sent: Thursday, May 21, 2020 9:21:17 PM To: kelaberetiv/TagUI TagUI@noreply.github.com Cc: Hassan Ali hassanalilgu@outlook.com; Mention mention@noreply.github.com Subject: Re: [kelaberetiv/TagUI] Why does text in echo / dump / write / check steps require quotes? (#242)

For echo step, message no need quotes in v6 and variables need backticks in v6 -

See more info - https://github.com/kelaberetiv/TagUI#echo-dump-write-steps

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/kelaberetiv/TagUI/issues/242#issuecomment-632187524, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJGETE3PCH4L5PNWJJBY6QDRSVIH3ANCNFSM4FKEP7QQ.

1reaction
Hassan-Ali123commented, May 4, 2020

Hey @kensoh! Nice to see you! I downloaded the latest version of TagUI (6.0.0). But when I print a text using a variable using the latest syntax it’s giving me error. EchoError. Please guide where am I doing mistake!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does text in echo / dump / write / check steps require ...
The various TagUI steps by default expect context to be text instead of variables, to let scripts be more human-language-like.
Read more >
Why do I need to quote variable for if, but not for echo?
The reason you don't need quotes to expand a variable with echo is because it isn't expecting one argument. It will simply print...
Read more >
bash - I just assigned a variable, but echo ... - Stack Overflow
When the variable is quoted it will: Be substituted for its value. There is no step 2. This is why you should always...
Read more >
How to use inputs in your shell scripts | Enable Sysadmin
Using quotes around the variables made the script receive each variable as one argument, which makes more sense in this case.
Read more >
Bash Reference Manual - GNU.org
Alias expansion is performed by this step (see Aliases). ... A simple shell command such as echo a b c consists of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found