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

Doesn't output to OUTPUTFILE (convert_clientsettings) #12

Open
atlauren opened this issue May 26, 2016 · 1 comment
Open

Doesn't output to OUTPUTFILE (convert_clientsettings) #12

atlauren opened this issue May 26, 2016 · 1 comment

Comments

@atlauren
Copy link

atlauren commented May 26, 2016

Unlike its pair in install_bigfix.sh, the string conversion line doesn't actually redirect to $OUTPUTFILE.

This code here has no effect: https://github.com/jgstew/tools/blob/master/bash/convert_clientsettings.sh#L20

@jgstew
Copy link
Owner

jgstew commented May 26, 2016

This is a bit of an oversight on my part, but actually, if you redirect the output to $OUTPUTFILE then it will work, which is how I am using it in practice within install_bigfix.sh

Usage:
./convert_clientsettings.sh > $OUTPUTFILE

Ideally, it would be added so that this happens automatically if an output file is specified, but I didn't actually end up needing this functionality, so I never implemented it.

You can fork this repo, make changes, and then issue a pull request to implement this, otherwise I'll get around to it eventually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants