Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!deejay!gear!cadlab!staff From: staff@cadlab.sublink.ORG (Alex Martelli) Newsgroups: comp.misc Subject: Re: Your favourite UNIX-pipe (summary) Keywords: pipe Message-ID: <244@cadlab.sublink.ORG> Date: 9 Aug 90 15:49:27 GMT References: <730@coma.UUCP> <2987@awdprime.UUCP> <1990Aug2.122755.2929@watdragon.waterloo.edu> Organization: CAD.LAB, Bologna, Italia Lines: 17 tbray@watsol.waterloo.edu (Tim Bray) writes: >>How about including useful short pipes (which could make our lives >>(novices) a little easier (and productive). >What have I been doing lately in this big directory? >ls -lt | head Yup, VERY useful - but, more portably (not everybody has "head"): ls -lt | sed 11q (note how the '1' and 'q' are nicely arranged near each other on your keyboard, just for this purpose...:-) -- Alex Martelli - CAD.LAB s.p.a., v. Stalingrado 45, Bologna, Italia Email: (work:) staff@cadlab.sublink.org, (home:) alex@am.sublink.org Phone: (work:) ++39 (51) 371099, (home:) ++39 (51) 250434; Fax: ++39 (51) 366964 (work only; any time of day or night).