File: time-output-diff.sh

package info (click to toggle)
cowdancer 0.73
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 752 kB
  • ctags: 269
  • sloc: ansic: 3,822; sh: 481; 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
)