Mercurial > mxe-octave
changeset 72:0e38dbc080af
improved output of --list
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Mon, 09 Jul 2007 14:56:35 +0200 |
parents | 690813a472bf |
children | 6e5a80ef836f |
files | build_mingw_cross_env.sh |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/build_mingw_cross_env.sh Sun Jul 08 19:45:27 2007 +0000 +++ b/build_mingw_cross_env.sh Mon Jul 09 14:56:35 2007 +0200 @@ -152,7 +152,10 @@ --list) # transform all VERSION_xxx declaration lines of this script set - -x - $SED -n 's,^VERSION_\([^=]*\)=\(.*\),\1 (\2),p' "$0" + awk <"$0" ' + BEGIN { FS="^VERSION_|=" } + /^VERSION/ { printf "%-13s %s\n", $2, $3 }' | + sort exit 0 ;; --new-versions|--download|--build|--build-experimental)