|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] >1 IP address on eth0 causes hotplug script fail
On Wed, 2006-02-22 at 15:47 -0500, James Dykman wrote:
> - ip addr show "$1" | awk "/^.*inet.*$1\$/{print \$2}" | sed 's,/.*,,'
> + ip addr show "$1" | awk "/^.*inet.*$1\$/{print \$2}" | sed 's,/.*,,' |
> head -1
You really want 'head -n 1' here. 'head -1' is an obsolete syntax
Jeremy
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|