On 9 June 2011 23:24, pancake <panc...@youterm.com> wrote:
> support for string mode format in chmod. Now you can do stuff like chmod +x 
> .. g-rwx , ...

I got round to looking at this. I had to change some of it to make it
POSIX and so on, but I like the approach (which basically avoids the
POSIX's BNF grammar (seriously)).

> I had a go at writing one last night, but it didn't work properly due to 
> static
> variables and no one on here seemed to want it so I didn't bother submitting.
> Anyway, I had another pop this morning and here's what I got. It's a bit
> hackish, but to do the job properly would require a parser so yeah...

Why not just edit the individual files' main() functions (in a build
directory) and generate a main.c, compile them, and link the object
files together? Don't have to worry about anything except main(),
then.

Thanks,
cls

Reply via email to