[Top][All Lists]
[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
- [RP] poundbang, Joshua Neuheisel, 2004/03/02
- Re: [RP] poundbang,
Shawn Betts <=
- Re: [RP] poundbang, Joshua Neuheisel, 2004/03/04
- Re: [RP] Re: poundbang, twb, 2004/03/04
- [RP] Re: poundbang, Björn Lindström, 2004/03/04
- Re: [RP] Re: poundbang, John Meacham, 2004/03/04
- Re: [RP] Re: poundbang, Shawn Betts, 2004/03/04
- Re: [RP] Re: poundbang, Ryan Yeske, 2004/03/05
- Re: [RP] Re: poundbang, Shawn Betts, 2004/03/05