Skip site navigation (1)Skip section navigation (2)
Date:      27 Jul 1999 11:38:51 +0200
From:      Dag-Erling Smorgrav <des@flood.ping.uio.no>
To:        Greg Lehey <grog@lemis.com>
Cc:        Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>, Radu-Cristian FOTESCU <rfotescu@idsrom.com>, John Armstrong <siberian@siberian.org>, freebsd-advocacy@FreeBSD.ORG
Subject:   Re: What to tell to Linux-centric people?!
Message-ID:  <xzp4siq5t5g.fsf@flood.ping.uio.no>
In-Reply-To: Greg Lehey's message of "Tue, 27 Jul 1999 11:10:51 %2B0930"
References:  <C1F3617BDC52D21185E40000214C247C154053@id-bucharest.idsrom.com> <19990726184500.W51019@freebie.lemis.com> <19990726182840.F1384@daemon.ninth-circle.org> <19990727111051.F62218@freebie.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Greg Lehey <grog@lemis.com> writes:
> Dunno.  It's a pity we don't have a real /etc/passwds any more.  That
> was an interesting source of statistics.

We have NIS.

des@freefall ~% ypcat passwd | perl -ne '{ split(/:/); $shells{@_[6]}++; } END { while (($shell, $count) = each(%shells)) { next unless $shell =~ m/sh/; printf("%3d %s", $count, $shell); } }' 
 84 /usr/local/bin/bash
105 /usr/local/bin/tcsh
  9 /usr/local/bin/zsh
  6 /usr/local/bin/ksh
 12 /bin/sh
 44 /bin/csh

DES
-- 
Dag-Erling Smorgrav - des@flood.ping.uio.no


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-advocacy" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp4siq5t5g.fsf>