[ClusterLabs] no final newline from "crm configure show"

Dejan Muhamedagic dejanmm at fastmail.fm
Wed Nov 23 08:15:02 EST 2016


On Wed, Nov 09, 2016 at 02:49:02PM +0100, Ulrich Windl wrote:
> Hi!
> I just found a minor problem when redirecting the output of
> "crm configure show" to a file for archiving purposes: If you

Better use 'configure save' for archive/backup. 'configure show'
is really meant for the terminal.

> use diff to compare two files, diff complains about a missing
> newline (especially after having edited the other file with
> vim). For XML output the final newline is there. Is that an
> omission? Or is it related that my last entry is an acl_target?

I doubt that it depends on the last entry. But if 'save' doesn't
work, just open an issue at github.



> Regards,
> Ulrich
> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> http://clusterlabs.org/mailman/listinfo/users
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

More information about the Users mailing list