zeek/testing/btest/Scripts/diff-remove-abspath
2011-05-10 21:27:44 -07:00

5 lines
124 B
Bash
Executable file

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