Re: [Xen-devel] [PATCH] xen/tools/get-fields.sh: Use printf for POSIX compat

2016-01-04 Thread Ian Campbell
On Mon, 2016-01-04 at 16:28 +, Ian Jackson wrote: > Alex Xu writes ("Re: [PATCH] xen/tools/get-fields.sh: Use printf for > POSIX compat"): > > Argh, claws mangled the formatting. Please ignore. > > Indeed.  But, your code is good.  When you repost please add my ack. Jan already committed it.

Re: [Xen-devel] [PATCH] xen/tools/get-fields.sh: Use printf for POSIX compat

2016-01-04 Thread Ian Jackson
Alex Xu writes ("[PATCH] xen/tools/get-fields.sh: Use printf for POSIX compat"): > xen/tools/get-fields.sh used echo -n which is not POSIX compatible and > breaks building with dash (shell). Change it to use printf "%s" which > is usable everywhere. Acked-by: Ian Jackson

Re: [Xen-devel] [PATCH] xen/tools/get-fields.sh: Use printf for POSIX compat

2016-01-04 Thread Ian Jackson
Alex Xu writes ("Re: [PATCH] xen/tools/get-fields.sh: Use printf for POSIX compat"): > Argh, claws mangled the formatting. Please ignore. Indeed. But, your code is good. When you repost please add my ack. Ian. ___ Xen-devel mailing list Xen-devel@li

[Xen-devel] [PATCH] xen/tools/get-fields.sh: Use printf for POSIX compat

2015-12-21 Thread Alex Xu
xen/tools/get-fields.sh used echo -n which is not POSIX compatible and breaks building with dash (shell). Change it to use printf %s which is usable everywhere. Signed-off-by: Alex Xu --- xen/tools/get-fields.sh | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(

Re: [Xen-devel] [PATCH] xen/tools/get-fields.sh: Use printf for POSIX compat

2015-12-21 Thread Jan Beulich
>>> On 20.12.15 at 17:41, wrote: > xen/tools/get-fields.sh used echo -n which is not POSIX compatible and > breaks building with dash (shell). Change it to use printf '%s' which > is usable everywhere. > > Signed-off-by: Alex Xu My remarks on v1 regarding quotation still apply. Jan _

[Xen-devel] [PATCH] xen/tools/get-fields.sh: Use printf for POSIX compat

2015-12-20 Thread Alex Xu
xen/tools/get-fields.sh used echo -n which is not POSIX compatible and breaks building with dash (shell). Change it to use printf '%s' which is usable everywhere. Signed-off-by: Alex Xu --- xen/tools/get-fields.sh | 30 +++--- 1 file changed, 15 insertions(+), 15 deletion

Re: [Xen-devel] [PATCH] xen/tools/get-fields.sh: Use printf for POSIX compat

2015-12-14 Thread Alex Xu
On Mon, 14 Dec 2015 13:22:28 -0500 Alex Xu wrote: > xen/tools/get-fields.sh used echo -n which is not POSIX compatible and > breaks building with dash (shell). Change it to use printf "%s" which > is usable everywhere. > > Signed-off-by: Alex Xu > --- > xen/tools/get-fields.sh | 30 +++

[Xen-devel] [PATCH] xen/tools/get-fields.sh: Use printf for POSIX compat

2015-12-14 Thread Alex Xu
xen/tools/get-fields.sh used echo -n which is not POSIX compatible and breaks building with dash (shell). Change it to use printf "%s" which is usable everywhere. Signed-off-by: Alex Xu --- xen/tools/get-fields.sh | 30 +++--- 1 file changed, 15 insertions(+), 15 deletion

Re: [Xen-devel] [PATCH] xen/tools/get-fields.sh: Use printf for POSIX compat

2015-12-14 Thread Jan Beulich
>>> On 14.12.15 at 16:56, wrote: > On Mon, 14 Dec 2015 02:12:16 -0700 > "Jan Beulich" wrote: > >> >>> On 12.12.15 at 19:18, wrote: >> > xen/tools/get-fields.sh used echo -n which is not POSIX compatible >> > and breaks with dash. Change it to use printf "%s" which is usable >> > everywhere.

Re: [Xen-devel] [PATCH] xen/tools/get-fields.sh: Use printf for POSIX compat

2015-12-14 Thread Alex Xu
On Mon, 14 Dec 2015 02:12:16 -0700 "Jan Beulich" wrote: > >>> On 12.12.15 at 19:18, wrote: > > xen/tools/get-fields.sh used echo -n which is not POSIX compatible > > and breaks with dash. Change it to use printf "%s" which is usable > > everywhere. > > Looks okay, but a couple of remarks: >

Re: [Xen-devel] [PATCH] xen/tools/get-fields.sh: Use printf for POSIX compat

2015-12-14 Thread Jan Beulich
>>> On 12.12.15 at 19:18, wrote: > xen/tools/get-fields.sh used echo -n which is not POSIX compatible and > breaks with dash. Change it to use printf "%s" which is usable > everywhere. Looks okay, but a couple of remarks: - For the unaware as well as to know why to take care going forward, it w

[Xen-devel] [PATCH] xen/tools/get-fields.sh: Use printf for POSIX compat

2015-12-13 Thread Alex Xu
xen/tools/get-fields.sh used echo -n which is not POSIX compatible and breaks with dash. Change it to use printf "%s" which is usable everywhere. Signed-off-by: Alex Xu --- xen/tools/get-fields.sh | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git