tools icon indicating copy to clipboard operation
tools copied to clipboard

Doesn't output to OUTPUTFILE (convert_clientsettings)

Open atlauren opened this issue 9 years ago • 1 comments

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

atlauren avatar May 26 '16 04:05 atlauren

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.

jgstew avatar May 26 '16 04:05 jgstew