Skip to content

Instantly share code, notes, and snippets.

@Xvezda
Last active September 10, 2020 11:26
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 Xvezda/914420561216c444ffa359007d0a8400 to your computer and use it in GitHub Desktop.
Save Xvezda/914420561216c444ffa359007d0a8400 to your computer and use it in GitHub Desktop.
Diffing two different subshell (process substitution)
#!/usr/bin/env bash
diff <( echo -e 'foo\nbar\n' ) <( echo -e 'foo\nbaz\n' )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment