Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Dec 1999 10:20:04 -0800
From:      "Daniel Sully" <daniel@electricrain.com>
To:        Warner Losh <imp@village.org>
Cc:        Peter Radcliffe <pir@pir.net>, freebsd-stable@FreeBSD.ORG
Subject:   Re: pidentd
Message-ID:  <19991213102004.D25035@electricrain.com>
In-Reply-To: <199912131805.LAA45050@harmony.village.org>; from imp@village.org on Mon, Dec 13, 1999 at 11:05:24AM -0700
References:  <19991213124609.A1355@pir.net> <199912131016.CAA21812@mass.cdrom.com> <Pine.BSF.4.21.9912130824450.74623-100000@resnet.uoregon.edu> <19991213124609.A1355@pir.net> <199912131805.LAA45050@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Once upon a time Warner Losh shaped the electrons to say...

> In message <19991213124609.A1355@pir.net> Peter Radcliffe writes:
> : cat stupid.identd.pl
> 
> This is far too long.
> 
> #!/usr/bin/perl
> ($a, $b) = split(/[,\n\r ]+/,<>);
> print "$a , $b : USERID : UNIX : Warm-Fuzzy\r\n";

That is also far too long.

perl -ne 'printf "%s , %s : USERID : UNIX : Bob\r\n",(split /[,\n\r ]+/)'

=)

-D
--
Change? We fear change.


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




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