ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] poundbang


From: Shawn Betts
Subject: Re: [RP] poundbang
Date: Wed Mar 3 23:56:02 2004
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

"Joshua Neuheisel" <address@hidden> writes:

> By popular request:
> http://neuheisel.us/ratpoison/patches/bang.patch.gz.
> 
> This small patch (against current CVS) allows RP to be used as an
> interpreter, i.e. "ratpoison <filename>" will run "ratpoison -c" on each
> line in <filename>.  In particular, one can now put "#!/path/to/ratpoison"
> as the first line in an RP script and executing it will now Do The Right
> Thing.

There's a little perl script in contrib/ called rpbatch.pl that pretty
much does this. Have you looked at it? It seems a bit much to put this
sort of thing in core ratpoison.

> As an aside, this patch also fixed two gcc compile warnings regarding
> type-punned variables.

I'll rip these from the patch, though. :)

-Shawn




reply via email to

[Prev in Thread] Current Thread [Next in Thread]