Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

looking for text editor

Status
Not open for further replies.

DaveC426913

Programmer
Jul 28, 2003
274
CA
I'm looking for a simple, free text editor to edit PERL and shell scripts. The ones I use now (Notepad, Homesite) insert unwanted characters such as carriage returns.

PC, XP, free, straight download, stand alone.

Thx.
 
I think the best thing is UltraEdit but you have to pay after trial. 40 dollars but its well worth it, use it everyday.
 
Ultra Edit is good, but it's not free. Another good one is SciTE, but it does have a problem in that its command line treats backslashes as special characters, so to function well under Windows you would have to write a little Perl script which would convert backslashes to forward-slashes before passing the filename to SciTE.
 
Hmm. vim is hard to beat? Is that what makes Emacs so good?

Oh come on, *someone* had to say it ;-)
 
I wrote a faq219-5835 on this awhile back, there's a moderate list in there you should check out. I think I'll reference the wikipedia article in there, too.

- Andrew
Text::Highlight - A language-neutral syntax highlighting module in Perl
also on SourceForge including demo
 
You know what would be cool which I am not sure if its possible or if it is available. A program that would take some like this:

if ($var eq 'Test' ) {
$a = 1;
}
else {
$a = 2;
}


And turn it into this:

$a = ($var eq 'Test') ? 1 : 2;

Just so you can see the same code in different ways and learn about easier/shorter/faster ways.
 
I've been using Jext for a while (perl syntax highlighting, free, unix/dos/mac settings for end-of-line characters)
Recently I switched to Eclipse with the perl E-P-I-C plugin because of the integration with CVS. That's pretty good, too with syntax colouring, 'pretty-perl' reformatter, and even a debugger (under Unix at least). It even has some experimental refactoring support. And free, if you aren't paying by the megabyte for your downloads...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top