WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] [vTPM] Script fixes for bash under FC5

To: Stefan Berger <stefanb@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] [vTPM] Script fixes for bash under FC5
From: Ryan Harper <ryanh@xxxxxxxxxx>
Date: Mon, 17 Apr 2006 15:20:56 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, ewan@xxxxxxxxxxxxx
Delivery-date: Mon, 17 Apr 2006 16:09:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1145303685.23141.4.camel@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1145303685.23141.4.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
* Stefan Berger <stefanb@xxxxxxxxxx> [2006-04-17 14:56]:
> +     instance=$(cat $VTPMDB |                   \
>                 awk -vvmname=$vmname             \

Any reason you use awk here

> +             instances=$(cat $VTPMDB |                \
>                          gawk                          \

and gawk just about everywhere else?

> -     instances=`cat $VTPMDB |                 \
> +     instances=$(cat $VTPMDB |                \

> +     res=$(cat $VTPMDB |            \
>            gawk -vvmname=$vmname     \

> +     $(cat $VTPMDB |            \
>        gawk -vvmname=$vmname     \


# grep -n awk /etc/xen/scripts/vtpm-common.sh
64:               awk -vvmname=$vmname             \
90:                        gawk                          \
114:               gawk                          \
167:         gawk -vvmname=$vmname     \
200:     gawk -vvmname=$vmname     \


-- 
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
ryanh@xxxxxxxxxx

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>