On 12/15/2012 02:37 AM, gregrwm wrote:
echo !(??|foo|bar)
precisely where i started this thread, !(??)
Not sure if I understand you correctly because you indeed mentioned the
!(foo|bar|baz) syntax in your first post -- but the thread was actually
about +(??) ...
That is, are you satisfie
On 12/14/2012 11:29 PM, gregrwm wrote:
well what i actually wanted was to conjure an expression that selected
a small few files, and then invert the expression, in particular i
wanted to isolate all 2 letter names plus a few other names, and then
invert, so that the aforementioned were not in th
On 12/14/2012 02:23 AM, gregrwm wrote:
shouldn't /+(??) capture 2 letter files only?
No, that matches anything beginning with a slash, followed by one or
more groups of two characters. That is, followed by two characters, by
4, 6, and so on. If you had any 6 or 8 (or 9, or 12, or...) then you
On 12/12/2012 10:25 PM, Chet Ramey wrote:
That is, mind a bash-newbie question as to what this "bash+" is?
And specifically, is this nameref implementation that you speak of
something that's in the pipeline for "regular bash"?
It's the development branch of bash in the savannah git tree:
http
On 12/12/2012 07:04 PM, Dan Douglas wrote:
While the current nameref implementation is tremendously valuable in
writing functions that manipulate non-local arrays, it does very
little else that couldn't already be done with Bash's indirect
parameter expansion, or to solve the encapsulation probl
On 11/26/2012 11:27 PM, Chet Ramey wrote:
I know that bash arrays are 1 dimensional -- but are there any
plans for providing multi-dimensional arrays?
I don't have any current plans to do so. I would take a look at any
contributed code to add them, though.
Thanks for the reply. It's fairly
On 11/26/2012 06:51 AM, Eduardo Bustamante wrote:
Hey, calm down. People are just trying to help. Also, this question
has already been asked previously. Please read this:
http://lists.gnu.org/archive/html/bug-bash/2011-09/msg00062.html
(To put you in context, Chet Ramey is the current maintain
On 11/25/2012 08:54 PM, Bob Proulx wrote:
There are various naming conventions and schemes to simulate
multi-dimensional arrays using single dimension arrays. Since you
want to continue with the shell and the shell has not (yet) provided
multi-dimensional arrays then the only option for you is
On 11/25/2012 03:19 PM, Dennis Williamson wrote:
Why don't you write it in Python? It will be much easier. You can
use advanced data structures and can even store your data in a
database such as MySQL. Execution will be much faster, too.
It won't be. Firstly since I'm not all that familiar wit
Good day.
I know that bash arrays are 1 dimensional -- but are there any plans for
providing multi-dimensional arrays?
I'm currently writing a larger bash script to manage my (ogg vorbis)
music collection, including maintaining tags. Vorbis files can and
(mine) often will contain repeated ta
10 matches
Mail list logo