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 _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox