[Ilugc] Any open source Unix shell script editor available for windows?

  • From: suraj@xxxxxxxxxxx (Suraj)
  • Date: Mon May 22 13:14:24 2006

P Karthick wrote: 
,----
| I would like to know is there any open source shell script editor
| available for windows os?  You may surprise why I need the editor
| for  Windows, I  am using  Cygwin tool  for executing  unix shell
| script on windows platform.  vi  editor that comes with cygwin is
| not user friendly.
`----

If you are  using Cygwin, you can use just  about any editor that
compiles under cygwin.  You can  also find win32 ports. I run GNU
Emacs when I have to use windows.

,----
| Also, i wud like  to know how the script files can  be made as an
| EXE file? i.e. code should not be available for reading/editing?
`----

You cannot. If  your only goal is to  prevent readability you can
set the file permissions to grant no readable access:

chmod -r-w+x script.sh

or you can use a utility like shc that encrypts the file:

http://aplawrence.com/Linux/shc.html

But, why do you need  unreadability of your scripts?  If the only
reason you are trying to  prevent readability is because you have
some  sort of  a 'password'  embedded  in your  script, then  you
should seriously think about re-designing your system. Also, note
that,  making your  code executable  doesn't prevent  people from
simply  running  strings on  the  executable  and getting  secret
strings, if any.

Cheers,

  -Suraj

PS: Please don't Top-Post. Thanks.

-- 
,-----------------[http://www.symonds.net/~suraj/]---o
| Tansen sang the raga deepakam in King Akbar's court.
`------------------------------[suraj@xxxxxxxxxxx]---o

Other related posts: