help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Cool and Useful LISP for the .emacs file


From: David Kastrup
Subject: Re: Cool and Useful LISP for the .emacs file
Date: 08 Nov 2003 21:06:37 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Artur Hefczyc <DONTkobit@SPAMplusnet.MEpl> writes:

> Kin Cho <kin@techie.com> writes:
> > I used to carry around a collection of shell, sed, awk, and perl
> > scripts to do various text/file/directory processing, as well as
> > doing cvs/rcs stuff, running compilation and gdb etc...  Now I do
> > (almost) all these things in elisp.
> 
> I like this idea! I would like to use elisp as scripting language
> also. However I would like to know if it is possible to use it that
> way. I mean, lets assume I create elisp script to update my Linux box
> system with new releases of some packages.
> 
> Is it possible to run it from command line like all other scripts,
> bash, perl etc.?
> 
> I mean file script starting from:
> #!/usr/bin/emacs
> 
> Or any other elisp interpreter?

#!/usr/bin/emacs -batch -l


-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


reply via email to

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