Re: sawfish script file



Hi,
stefano sabatini-lala poste it (2006-09-21 at 1944.32 +0200):
> There is some way to define a sawfish script of the form:
> #! /usr/bin/sawfish-client --something
> (require 'myself.coolthings)
> (do-something)
> 
> or the only way to call a sawfish script script.jl is:
> sawfish-client -e (load "script.jl")

What about "here document" provided by some shells?

#!/bin/bash

sawfish-client --<<"END"
(require 'myself.coolthings)
(do-something)
END

GSR
 



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