Debian Codegraph @

testing/Scripts/diff-remove-abspath

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