[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(-)

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: >

[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 inserti

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-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 inserti

[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