Created
November 26, 2024 07:04
-
-
Save dewomser/56fe1b1b138aa55e6e51accbd732c730 to your computer and use it in GitHub Desktop.
diff für Inhalt von Variablen . Ein Beispiel in Bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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