Re: [Fish-users] find exit code

2008-10-09 Thread Philip Ganchev
Couldn't the parsing be more sensitive to the possible errors, thus avoiding a second pass? For example, if '$' is followed by an illegal character, check which character that is; if it's "!", print an error message like " The '$' character begins a variable name. The character '!', which directl

Re: [Fish-users] find exit code

2008-10-09 Thread Beni Cherniavsky
> On Thu, Oct 9, 2008 at 5:39 AM, Suraj N. Kurapati <[EMAIL PROTECTED]> wrote: > As was already discussed at least once, if we want to automatically > offer hints to users from other shells, we want a system orthogonal to > the normal parser. For starters, triggering hints by simple string > searc

Re: [Fish-users] find exit code

2008-10-09 Thread Beni Cherniavsky
On Thu, Oct 9, 2008 at 5:39 AM, Suraj N. Kurapati <[EMAIL PROTECTED]> wrote: > Myrddin Emrys wrote: >> While it might be a good idea to create a 'second chance parsing' for >> help text, it's a large amount of work. > As was already discussed at least once, if we want to automatically offer hints t