Re: [PATCH] tools/slabinfo-gnuplot: force to use bash shell

2017-12-08 Thread Sergey Senozhatsky
On (12/08/17 14:02), Andrew Morton wrote: > > On (12/08/17 17:37), Liu, Changcheng wrote: > > > > > > On some linux distributions, the default link of sh > > > is dash which deoesn't support split array like > > > ${var//,/ } > > > It's better to force to use bash shell directly. > > > > > > Sign

Re: [PATCH] tools/slabinfo-gnuplot: force to use bash shell

2017-12-08 Thread Joe Perches
On Fri, 2017-12-08 at 14:02 -0800, Andrew Morton wrote: > On Fri, 8 Dec 2017 19:33:15 +0900 Sergey Senozhatsky > wrote: > > > On (12/08/17 17:37), Liu, Changcheng wrote: > > > > > > On some linux distributions, the default link of sh > > > is dash which deoesn't support split array like > > > $

Re: [PATCH] tools/slabinfo-gnuplot: force to use bash shell

2017-12-08 Thread Andrew Morton
On Fri, 8 Dec 2017 19:33:15 +0900 Sergey Senozhatsky wrote: > On (12/08/17 17:37), Liu, Changcheng wrote: > > > > On some linux distributions, the default link of sh > > is dash which deoesn't support split array like > > ${var//,/ } > > It's better to force to use bash shell directly. > > > >

Re: [PATCH] tools/slabinfo-gnuplot: force to use bash shell

2017-12-08 Thread Sergey Senozhatsky
On (12/08/17 17:37), Liu, Changcheng wrote: > > On some linux distributions, the default link of sh > is dash which deoesn't support split array like > ${var//,/ } > It's better to force to use bash shell directly. > > Signed-off-by: Liu Changcheng Reviewed-by: Sergey Senozhatsky -ss

[PATCH] tools/slabinfo-gnuplot: force to use bash shell

2017-12-08 Thread Liu, Changcheng
On some linux distributions, the default link of sh is dash which deoesn't support split array like ${var//,/ } It's better to force to use bash shell directly. Signed-off-by: Liu Changcheng diff --git a/tools/vm/slabinfo-gnuplot.sh b/tools/vm/slabinfo-gnuplot.sh index 35b0398..0cf28aa 100644 --