On 8/24/06, Axel Liljencrantz <[EMAIL PROTECTED]> wrote: > I implemented command substitution slicing as per above. You can now > write 'echo (ls -S)[6]' to get the name of the largest file in the > directory. Just like array indices, negative indices are from the end, > so 'echo (ls)[-1]' means the name of the smallest file in the > directory. The patch is in the darcs tree if anyone wants to try it > out.
Awesome! Way to go, Axel! I hope there aren't any corner cases that would interfere with that. ------------------------------------------------------------------------- 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&kid=120709&bid=263057&dat=121642 _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
