On 19/05/2010, Elmo Todurov <todu...@gmail.com> wrote: > Well, that's the style I'm used to. I tried to find the style > guidelines, but the only thing I found is > http://suckless.org/devel/style_guide > which is pretty thoroughly unhelpful.
Yeah, that page is sort of lacking. What I did is just read dmenu.c a lot. fwiw the style used for dmenu is almost identical to K&R. > It will never become "simple" -- making that uniq() work right can never > be as simple as piping data to uniq the program. I meant as simple as the current script's C cousin can be. Still, it might be naturally complex, in which case I'd argue for keeping the shell version... cls