Displaying 1 result from an estimated 1 matches for "fieldwise".
2007 Apr 18
0
Bug#395305: /etc/init.d/xendomains parseln() and long domU names
...t;$1" | cut -c18- `
+ rest=`echo $1 | cut -d\ -f2-`
read id mem cpu vcpu state tm < <(echo "$rest")
}
1 aesop:~#
note that i stripped out the quotes around $1, which lets echo dispose
of runs of contiguous spaces. once the contiguous spaces are
collapsed, cutting fieldwise works fine.
--dkg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>
iD8DBQFGJoxNiXTlFKVLY2URAtjdAJ0RCY/IIiQohAHIsZ3pZSNX1bNQLgCdEvM3
iuxVRTs3AeGcg/odotkZ8u4=
=Mh08
-----END PGP SIGNATURE-----