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
no output #10
Comments
|
Hi! I think this is the right place to ask for help. For easier debug your problem, can you provide us some more info?
|
|
1. Which shell are you using? you can get this with the command echo
$SHELL
***@***.*** ~]$ echo $SHELL
/bin/bash
2. Your shell probably be /bin/bash. So which version are you using? bash
--version or echo $BASH_VERSION
***@***.*** ~]$ bash --version
GNU bash, version 4.4.20(1)-release (x86_64-redhat-linux-gnu)
3. What command sequence are you trying exactly:
git clone https://github.com/mrbaseman/parse_yaml.git
cd parse_yaml/src/
chmod 775 parse_yaml.sh
Then I have tried:
./parse_yaml.sh sample.yml
&
source parse_yaml.sh
eval $(./parse_yaml.sh sample.yml)
Thanks,
Blaze
…On Thu, Aug 19, 2021 at 11:23 PM Josemar Muller Lohn < ***@***.***> wrote:
Hi! I think this is the right place to ask for help.
For easier debug your problem, can you provide us some more info?
1. Which shell are you using? you can get this with the command echo
$SHELL
2. Your shell probably be /bin/bash. So which version are you using? bash
--version or echo $BASH_VERSION
3. What command sequence are you trying exactly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGYLTZ7ZJR4NU4SW4X4QYRLT5XDE5ANCNFSM5CPCCFSQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
|
Thanks for your reply! The problem is:
parse_yaml.sh wasn't made to be called direct from command line (I'm working in adding this function, and soon I'll make a PR and hope that @mrbaseman approves. But now it really doesn't work this way.).
This is almost the right way to use it now. The first command Sorry if the answer is confusing. You can ask again if you still have questions. |
|
right, it's explained in the README.md |
I apologize if this is the wrong place for this. I cloned the repo and was just trying to use the sample sample.yml but I'm not getting any output when I run parse_yaml.sh. I am running CentOS Linux release 8.4.2105. Are there any package dependencies or anything special I need to do? Thanks!
The text was updated successfully, but these errors were encountered: