![]() |
|
|||
0001 #!/bin/sh 0002 # SPDX-License-Identifier: GPL-2.0 0003 # 0004 # Usage: $ ./pahole-version.sh pahole 0005 # 0006 # Prints pahole's version in a 3-digit form, such as 119 for v1.19. 0007 0008 if [ ! -x "$(command -v "$@")" ]; then 0009 echo 0 0010 exit 1 0011 fi 0012 0013 "$@" --version | sed -E 's/v([0-9]+)\.([0-9]+)/\1\2/'
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |