[Pkg-xen-devel] Bug(?) in rc scripts?

Bob Tanner tanner at real-time.com
Wed May 10 03:57:59 UTC 2006


On Tuesday 09 May 2006 19:16, Bob Tanner wrote:
> Typescript attached. I think there's a bug in the parseln, or is there
> suppose to be a length limit?

Proposed change 

parseln()
{
    name=`echo "$1" | cut -d' ' -f1`
    name=${name%% *}
    rest=`echo "$1" | cut -d' ' -f2-`
    read id mem cpu vcpu state tm < <(echo "$rest")
}


-- 
Bob Tanner <tanner at real-time.com>          | Phone : (952)943-8700
http://www.real-time.com, Minnesota, Linux | Fax   : (952)943-8500
Key fingerprint = AB15 0BDF BCDE 4369 5B42  1973 7CF1 A709 2CC1 B288
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20060509/23df0bbf/attachment.pgp


More information about the Pkg-xen-devel mailing list