From 43e6c9b4db9b04bd3741081b063012b3d68a0c84 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 5 Oct 2010 14:36:23 +0200 Subject: [PATCH] update room information Signed-off-by: Nico Schottelius --- eth/user/isg_order | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/eth/user/isg_order b/eth/user/isg_order index 714b461..1e2beb1 100755 --- a/eth/user/isg_order +++ b/eth/user/isg_order @@ -37,9 +37,9 @@ fi all_profs="$(echo $(awk '{ print $1 }' "$ETHZ_FOND_TABLE"))" -if [ $# -lt 3 ]; then +if [ $# -lt 4 ]; then cat << eof -$__myname: [comment] +$__myname: [comment] fond: a prof like $all_profs @@ -60,6 +60,7 @@ from="${NETHZ_USERNAME}@ethz.ch" prof="$1"; shift vendor="$1"; shift device="$1"; shift +office="$1"; shift lz="$(awk "/$prof/ { print \$2 }" "$ETHZ_FOND_TABLE")" fond="$(awk "/$prof/ { print \$3 }" "$ETHZ_FOND_TABLE")" @@ -79,6 +80,8 @@ Description: Hoi Thomas! $device + und in Büro $office liefern. + $@ Viele Gruesse,