Aldo Ridhoni's Weblog Belajar Menulis

Diff of diff in fish

 — 

Dalam podcast #4 Destroy All Software, Gary memberikan sebuah contoh perintah diff dalam shell zsh.

  • Diff /dev/null ?

    $ diff -u <(cat /dev/null) <(cat /dev/null)
    
  • Diff dari keluaran git diff.

    $ diff -u <(git diff master~5..master~1) <(git diff master~4..master)
    
  • Diff dari website google.

    $ diff -u …
Category: How-to Tags: