Skip to content

Instantly share code, notes, and snippets.

@dewomser
Created November 26, 2024 07:04
Show Gist options
  • Save dewomser/56fe1b1b138aa55e6e51accbd732c730 to your computer and use it in GitHub Desktop.
Save dewomser/56fe1b1b138aa55e6e51accbd732c730 to your computer and use it in GitHub Desktop.
diff für Inhalt von Variablen . Ein Beispiel in Bash
#!/bin/bash
a="1
2
3"
b="1
2
4"
diff <( echo "$a" ) <( echo "$b" )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment