On 8/24/06, Martin Baehr <[EMAIL PROTECTED]> wrote: > On Thu, Aug 24, 2006 at 03:43:42PM +0200, Axel Liljencrantz wrote: > > > Of course, it would be nicer if ``(history)[2 4]`` worked. > > 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. > > why 6? > how does one come up with that number? > or is that a strange typo for 1?
I was going to write 'to get the name of the sixth largest file', but I got distracted. :-) > > greetings, martin. > -- > cooperative communication with sTeam - caudium, pike, roxen and unix > offering: programming, training and administration - anywhere in the world > -- > pike programmer travelling and working in europe open-steam.org > unix system- bahai.or.at iaeste.(tuwien.ac|or).at > administrator (caudium|gotpike).org is.schon.org > Martin Bähr http://www.iaeste.or.at/~mbaehr/ > -- 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&kid=120709&bid=263057&dat=121642 _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
