[LBo] Scripting with a gui editor??
Chris F.A. Johnson
cfaj at freeshell.org
Thu Dec 21 00:31:14 CET 2006
On Wed, 20 Dec 2006, Jisao wrote:
> Chris F.A. Johnson wrote:
>> On Wed, 20 Dec 2006, Tim wrote:
>> >
>> > I come from the gui age and while I can understand there a lot of power
>> > to be
>> > had from the cli sometimes I just want to be able to write a quick
>> > script in
>> > something like kedit but I have a couple of questions?
>> >
>> > If I use kedit then should I use
>>
>> The editor has nothing to do with it. Any editor (or even word
>> processor) can create a text file. And why would it make any
>> difference if you use a GUI editor or a CLI-based editor? You
>> have to type the script whichever type of editor you use.
>
> Whatever little scripts I wrote, I always used a GUI editor, one that colors
> the syntax of the script.
You can get syntax highlighting with non-GUI editors. I use emacs,
which can be used in GUI or CLI mode (not that it really makes much
difference).
> It's a habit I got from editing web pages in
> > code< mode. I personally used kate, but I have been known to edit some
> scripts even with wordpad at times (that, however, I would not recommend as a
> good habit).
-- Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author: Shell Scripting Recipes: A Problem-Solution Approach (2005,
Apress)
More information about the QnA
mailing list