mirror of
https://github.com/containers/podman
synced 2024-10-21 01:34:37 +00:00
294ddc4720
Credits to bash wizard @edsantiago for the changes. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
10 lines
186 B
Bash
Executable file
10 lines
186 B
Bash
Executable file
#!/usr/bin/bash
|
|
|
|
if test "$#" -ne 1; then
|
|
echo "invalid arguments: usage: $0 path/to/binary"
|
|
exit 1
|
|
fi
|
|
|
|
go tool nm -size "$1" \
|
|
| awk 'NF==4 && $3=="t" {printf "%s\t\t%s\n", $2, $4}'
|