I'd suggest to adapt the code from
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/printenv/printenv.c?rev=1.6
for printenv.c

IMO it can't get much simpler.

-- 
Džen

On 09/02/12 08:55am, Galos, David wrote:
> Hilarious. I particularly liked the way you needlessly reinvented
> getenv(), and pointlessly used getopt() in printenv.
> 
> 
> On Thu, Feb 9, 2012 at 7:15 AM, stateless <statel...@archlinux.us> wrote:
> > Hi all,
> >
> > Implemented yes(1), sync(1) and printenv(1).  Source is attached,
> > haven't had time to write the manpage yet.
> >
> > Cheers,
> > stateless
> 

Reply via email to