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

From: Sergey Senozhatsky
Date: Fri Dec 08 2017 - 18:59:09 EST


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.
> > >
> > > Signed-off-by: Liu Changcheng <changcheng.liu@xxxxxxxxx>
> >
> > Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
>
> It would be better to rewrite the script to avoid bashisms.

Hello Andrew,
what are the latest fashion trends? isn't it perl? so maybe
I can sit down someday and rewrite it in perl.

-ss