Skip to content

Instantly share code, notes, and snippets.

@lordcirth
Created February 13, 2018 19:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lordcirth/0c4e4f47abfb7a12959894e704c23aa9 to your computer and use it in GitHub Desktop.
Save lordcirth/0c4e4f47abfb7a12959894e704c23aa9 to your computer and use it in GitHub Desktop.
difflib problem
root@salt-dev:~/salt/salt/modules# salt-call file.get_diff /root/sshd_config /root/sshd_config_2 hide_comments="{multiline_begin: '/*', multiline_end: '*/'}"
local:
--- /root/sshd_config
+++ /root/sshd_config_2
@@ -327,6 +327,40 @@
t _ r+s+a+_+k+e+y+
+H+o+s+t+K+e+y+ +/+e+t+c+/+s+s+h+/+s+s+h+_+h+o+s+t+_+d s a _
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment