test-ly-files: Display symlink creation, add `-v` to `ln`
[sunny256-utils.git] / wdiff
blobc3a9eb7ce2f3c4204aa1e7fd31ed33895b128fc1
1 #!/usr/bin/env bash
3 #===================================================
4 # wdiff
5 # File ID: 75204552-5d49-11df-868f-90e6ba3022ac
6 # diff beregnet for tekst som wrapper i hytt og pine
7 #===================================================
9 if [ "x$3" = "x" ]; then
10 diff -u <(fmt -1 $1 | rmspcall) <(fmt -1 $2 | rmspcall)
11 else
12 diff -U$3 <(fmt -1 $1 | rmspcall) <(fmt -1 $2 | rmspcall)