On 4/22/06, Axel Liljencrantz <[EMAIL PROTECTED]> wrote:
On 4/22/06, Philip Ganchev <[EMAIL PROTECTED]> wrote:
[...]
> I would think that Fish should index jobs from 1 -- to be more
> consistent with array indexing in Fish and job indexing in POSIX
> shell, and for the same arguments as indexing arrays from 1.
Never, though about it, but indexing from 1 makes more sense since
fish indexes arrays from one. If other shells index jobs from 1, then
there really is _no_ reason not to do the same. Will change, but not
before 1.21.6, since I want to get that one out the door.
Ok, this is now fixed in the darcs tree. Job ids start at 1, not 0.
Thanks for pointing this out.
A related question:
Does anyone actually use %+ and %- in bash, i.e. the last and next to
last job to be used? 'fg' and 'bg' don't have to use %+, since running
'fg' or 'bg' with no arguments will do the same thing, and I find it
easier to remember the job id of the current jobs than to remember
what job was second last to be used. Therefore, I've seen very little
reason to implement them, but I suppose different people might have
different tastes.
[...]
--
Axel
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users