Posted by: Anonymous
[ip: 24.5.188.168]
on October 29, 2008 05:48 PM
> See the BashDiff documentation for full details of all the regex and glob splitting,
> case folding, and quote and white space handling shorthand modes.
>
> $ in="and there was singing"
> $ for z in ${in|-[ \\t]+}; do echo $z; done
> and here was singing
But there is no there there.
Perhaps one fewer (or more!?) backslash?
Teach an old shell new tricks with BashDiff
Posted by: Anonymous [ip: 24.5.188.168] on October 29, 2008 05:48 PM> case folding, and quote and white space handling shorthand modes.
>
> $ in="and there was singing"
> $ for z in ${in|-[ \\t]+}; do echo $z; done
> and here was singing
But there is no there there.
Perhaps one fewer (or more!?) backslash?
#