buildpkg.sh in OpenSSH_3.1p1
Oliver Fänger
oliver.faenger at cityweb.de
Fri Mar 8 22:17:45 EST 2002
Hi,
version.h in OpenSSH_3.1p1 has an Newline after
#define SSH_VERSION "OpenSSH_3.1p1"
so
tail -1 ../../version.h | sed -e 's/.*_\([0-9]\)/\1/g' | sed 's/\"$//'
does give back a version number
regards
Oliver
--
Oliver Fänger - Phone +49 201 8501 319
Cityweb Network GmbH & Co. KG
Friedrichstr. 12 - Fax +49 201 8501 104
45128 Essen - email oliver.faenger at cityweb.de
More information about the openssh-unix-dev
mailing list