Package: debian-reference Version: 1.08-3 Severity: wishlist On Tue, Apr 26, 2005 at 09:22:33AM -0400, David Sewell wrote: ... > ---------- Forwarded message ---------- > Date: Tue, 26 Apr 2005 17:09:36 +1000 > From: Amos Shapira <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: small improvement to debian reference manual ... > You can make use of the fgrep "-c" option to achieve the same > number more nicely: > > apt-show-versions | fgrep -c /testing
Yes but ... beyond taste issues over command styles, do you see significant improvement of using -c option? I personally like to use simple idioms in combination. (Your fgrep may not have -c option in some situation. Busybox at this moment lacks fgrep but grep in it comes without -c option.) Maybe I should have used "fgrep /testing | wc -l". This needs to be fixed at next upload for all languages. Keeping piped format let our reader think more how unix tools work together :-) Anyway, please report this kind of thing to Debian BTS like this mail. Osamu PS: Since aptitude does not have ways to indicate testing/unstable/..., this apt-show-versions is nice tool. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]