File: time-output-diff.sh

package info (click to toggle)
cowdancer 0.70
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 692 kB
  • sloc: ansic: 3,695; sh: 474; makefile: 191; cpp: 6
file content (9 lines) | stat: -rwxr-xr-x 154 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
#!/bin/bash
# compare file $1 and $2, ignoring the time difference.

diff -u <(
    sed 's/^\[[0-9]\+\] //' < $1
) <(
    sed 's/^\[[0-9]\+\] //' < $2
)