Re: [dev] [dmenu] dmenu_run in C

From: Nick <suckless-dev_AT_njw.me.uk>
Date: Mon, 15 Dec 2014 15:42:29 +0000

Quoth Calvin Morrison:
> On 14 December 2014 at 11:44, M Farkas-Dyck <strake888_AT_gmail.com> wrote:
> > On 14/12/2014, Jonny Langley <jonny_AT_kingslea.school.nz> wrote:
> >> It adds just under 100 LOC, but means the shell scripts
> >> dmenu_{run,path} are unneeded.
> >
> > ; wc -l dmenu_^(run path)
> > 2 dmenu_run
> > 13 dmenu_path
> > 15 total
>
> how many lines of code is an interpreter though?
>
> then again, is there any Unix or Unix like system without a shell?

Don't forget that we get to remove stest too:
; wc -l stest.[1c]*
  87 stest.1
  84 stest.c
 171 total

And do you remember the reason for stest? Because unix tools and
shells have a habit of being ever so slightly incompatible.

So I support the idea of just doing this in C.
Received on Mon Dec 15 2014 - 16:42:29 CET

This archive was generated by hypermail 2.3.0 : Mon Dec 15 2014 - 16:48:08 CET