mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
9 lines
276 B
Text
9 lines
276 B
Text
# shellcheck shell=bash
|
|
set -euo pipefail
|
|
testcaseBasename=$1
|
|
|
|
# Line numbers change when derivation.nix docs are updated.
|
|
sed -i "$testcaseBasename.err" \
|
|
-e 's/[0-9 ][0-9 ][0-9 ][0-9 ][0-9 ][0-9 ][0-9 ][0-9]\([^0-9]\)/<number>\1/g' \
|
|
-e 's/[0-9][0-9]*/<number>/g' \
|
|
;
|