Comments (8)
Oh, ok. Well I'm not sure why I was getting the syntax error then. But it seems fine when I source it from a bash script, at least.
from bash-tui-toolkit.
Cam you provide a bit more information please?
- bash version
- which version did you download (e. g. providing used command)
- run
set +x
before sourcing and provide output
from bash-tui-toolkit.
I downloaded the latest version.
I use ArcoLinux, a rolling release version based on Arch, so it should be the latest version of Bash. I update every couple of days.
I'll try setting +x. Think I had done that but I'll double check.
from bash-tui-toolkit.
Bash 5.1.16
from bash-tui-toolkit.
So even after running set +x, I still get this syntax error.
from bash-tui-toolkit.
OK, I think the issue was I was testing this without actually using it in a bash script. It seems to work fine when sourcing it from a bash script, which is clearly the intention. I just thought I could test this straight from the bash prompt, and it appears that's not the case.
But sourcing it from within a bash script, no problems. :)
from bash-tui-toolkit.
So even after running set +x, I still get this syntax error.
That's just for more verbose output :)
OK, I think the issue was I was testing this without actually using it in a bash script. It seems to work fine when sourcing it from a bash script, which is clearly the intention. I just thought I could test this straight from the bash prompt, and it appears that's not the case.
That should work though, and also works on my machine(s) ™️
from bash-tui-toolkit.
Alrighty than if something comes up, feel free to create an issue and I will have a look.
Thanks for using it! :)
from bash-tui-toolkit.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bash-tui-toolkit.