/usr/bin/adf2hdf is in cgns-convert 3.1.4.2-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #!/bin/sh
if [ $# -lt 1 ]; then
echo "usage: adf2hdf [-links] inputCGNSfile [outputCGNSfile]"
exit 1
fi
dir=`dirname $0`
if ! [ -x $dir/cgnsconvert ]; then
echo "cgnsconvert does not exist in $dir"
exit 1
fi
links=
if test "$1" = "-l" -o "$1" = "-links" ; then
links=-l
shift
fi
$dir/cgnsconvert -h $links $1 $2
|