Re: Bash-specific performance by avoiding sed

2015-10-05 Thread Eric Blake
On 10/05/2015 01:47 AM, Pavel Raiskup wrote: > > Hmm, one might-be-a-problem with this (catched by testsuite), when you s/catched/caught/ > We would like to have an output \"*\". I'm not aware of portable way > how to disable wildcard expansion in shell, and autoconf 'Shellology' > section ha

Re: Bash-specific performance by avoiding sed

2015-10-05 Thread Pavel Raiskup
On Monday 05 of October 2015 09:47:05 Pavel Raiskup wrote: > On Monday 05 of October 2015 01:25:24 Pavel Raiskup wrote: > > On Monday 05 of October 2015 00:45:50 Pavel Raiskup wrote: > > > > should we test the size of the string first ? i've written such raw > > > > shell > > > > string parsing

Re: Bash-specific performance by avoiding sed

2015-10-05 Thread Pavel Raiskup
On Monday 05 of October 2015 01:25:24 Pavel Raiskup wrote: > On Monday 05 of October 2015 00:45:50 Pavel Raiskup wrote: > > > should we test the size of the string first ? i've written such raw > > > shell > > > string parsing functions before, and once you hit a certain size (like > > > 1k+ >