Bug in ash alias handing ?
Walter Harms
wharms at bfs.de
Sat Jun 25 13:07:52 UTC 2016
On Fri, 24 Jun 2016, Walter Harms wrote:
> >
> > i tried to make this little gem grep -o -E '\$Id:[^\$]+.' into an alias
> > for ash in the latest busybox version.
> >
> > alias idt="grep -o -E '\$Id:[^\$]+.'"
> >
> > but the result was always a non working alias
> > I tried various escapes but nothing worked.
> >
> > does someone has a solution ?
>Try:
>alias idt='grep -o -E "\\\$Id:[^$]+."'
great. works for me !
you changed roles of ' and " , ok.
But why the \\\ double escape for $ but not in the [^$] ?
re,
wh
More information about the busybox
mailing list