> The retrograde kind. But could I ever figure out programmed
> completions in bash?
>
> complete g++ 'n/*/f:*.{cpp,c,cc,CPP,C,CC,o}/'
> complete latex 'n/*/f:*.{tex,ltx}/'
> complete alias 'p/1/a/' # only aliases are valid
Yah, that's the coolest thing about tcsh that bash doesn't have. I've
been meaning to write a little C module that when enabled as a dynamically
loaded bash module will do this. (And I don't think that tcsh has
built-in support for you to build your own dynamically loadable extensions
to the shell.) Also, bash has all the incredibly nifty pattern-matching,
command-processing, string-manipulation and variable-evaluation
variables/operators, such as $(command) and ${variable##pattern} and
${varname:?message} and ${varname:offset:length}, that tcsh doesn't have.
> My guess is that you are using a random signature quote generator on
> your emails, judging from your previous posts. Or is it that you were
> so stung by the moral relatativist charge that you had to break out your
> Zarathustra?
The latter.
_______________________________________________
Bits mailing list
[EMAIL PROTECTED]
http://www.sugoi.org/mailman/listinfo/bits