[Pkg-xen-devel] Bug#718898: Bug#718898: cut no longer works with newline as delimiter

Ian Campbell ijc at hellion.org.uk
Thu Aug 8 09:48:27 UTC 2013


On Wed, 2013-08-07 at 22:55 -0600, Bob Proulx wrote:
> Bob Proulx wrote:
> > Here is a patch that I believe should fix the problem.  I will also
> > attach it so that there won't be any mailer problems with the
> > transport of it.
> 
> And I broke it in the editing of it.  Drat!
> 
> > +  bridge=$(brctl show | | awk 'NR==2{print$1}')
> 
> Which is obviously incorrect.  Here is a hopefully correct patch.
> With only one pipe in the pipeline.

Hi Bob,

Any chance you could send this patch to the upstream
xen-devel at lists.xen.org mailing list with a Signed-off-by line to
indicate acceptance of the DCO
http://wiki.xen.org/wiki/Submitting_Xen_Patches#Signing_off_a_patch.

Thanks,
Ian.

> 
> --- vif-bridge.orig	2013-08-07 20:01:57.240366430 -0600
> +++ vif-bridge	2013-08-07 22:54:12.076993655 -0600
> @@ -37,8 +37,7 @@
>  
>  if [ -z "$bridge" ]
>  then
> -  bridge=$(brctl show | cut -d "
> -" -f 2 | cut -f 1)
> +  bridge=$(brctl show | awk 'NR==2{print$1}')
>  
>    if [ -z "$bridge" ]
>    then
> 
> Bob
> _______________________________________________
> Pkg-xen-devel mailing list
> Pkg-xen-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-xen-devel



More information about the Pkg-xen-devel mailing list