dotfiles/.bin/OLD/port-shlib-compare
2024-02-14 07:55:58 +01:00

10 lines
191 B
Bash
Executable File

#!/bin/sh -xe
f1=$(basename "$1").txt
f2=$(basename "$2").txt
nm -g "$1" | cut -c10- | grep -e^T > "/tmp/$f1"
nm -g "$2" | cut -c10- | grep -e^T > "/tmp/$f2"
vimdiff "/tmp/$f1" "/tmp/$f2"