zeek/auxil/btest/testing/Scripts/diff-remove-abspath
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

6 lines
134 B
Bash
Executable File

#! /usr/bin/env bash
#
# Replace absolute paths with the basename.
sed 's#[a-zA-Z:]*/\([^/]\{1,\}/\)\{1,\}\([^/]\{1,\}\)#<...>/\2#g'