File: time-output-diff.sh

package info (click to toggle)
cowdancer 0.90
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 648 kB
  • sloc: ansic: 4,593; sh: 407; makefile: 142; cpp: 5
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
)