LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 02-01-2006, 08:08 AM   #1
nickleus
Member
 
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107

Rep: Reputation: 15
TextPad-like text editor with regex for linux?


I just love textpad for windows and was wondering if there are any graphical text editors like textpad with the possibility for running search and replace with regex enabled, for linux? or what is popular for editing with regular expressions? i tried looking at emacs, but couldn't figure out how to search and replace with regex...
 
Old 02-01-2006, 08:21 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
Try vim, or gvim if you want a pretty GTK2 interface. Regex functions are built in and it has a *lot* of other neat functions.


Håkan
 
Old 02-01-2006, 08:21 AM   #3
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
Quote:
Originally Posted by nickleus
i tried looking at emacs, but couldn't figure out how to search and replace with regex...
emacs will do this.......just "read the fine manual"......emacs has very extensive documentation
 
Old 02-01-2006, 08:40 AM   #4
Spudley
Member
 
Registered: Mar 2003
Location: Berkshire, England.
Distribution: SuSE 10.0
Posts: 299

Rep: Reputation: 32
If you're using KDE as your desktop, try the Kate editor -- it allows regexs in search+replace, and does pretty much everything else I've ever wanted from a text editor. (Textpad users should feel right at home)
 
Old 02-01-2006, 09:08 AM   #5
nickleus
Member
 
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107

Original Poster
Rep: Reputation: 15
Forgot to mention i'm using gnome. will kate not work in gnome? after searching on google i also saw that maybe wine+textpad might work.... didn't even think of that. i'll try reading the documentation for those other programs again.. thanks for the replies guys =) keep 'em coming if someone knows of anything else..
 
Old 10-19-2010, 01:39 PM   #6
dtoader
LQ Newbie
 
Registered: Sep 2009
Posts: 3

Rep: Reputation: 1
Textpad for linux

I'm going to piss off a lot of people but here goes.

You can use Textpad from a Windows client to edit all of your Linux files via
a root session through WinSCP. Just configure WinSCP to leave file ownership
and chmod settings alone and you're set.

Alternately, you can use sshfs or samba to mount whatever
you'd like to edit (yes, I recommend even mounting / as
a Samba share if you and the Linux server happen to be
on the same subnet behind a firewall)

Just make sure that whatever you use to connect in
does not change your file ownership and permissions.

I realize this advice would give a sysadmin/security expert an aneurysm but
we're talking about getting stuff done not about security...

There's no reason not to use Textpad if that is what you know best...

If I know Textpad the best, I would learn only the minimally necessary
vi edit commands just enough to get by in vi just in case I'm at a Linux
console and I'm forced to edit files in an emergency.

Basically, my advice is to use whatever editor you know best
on whatever client you happen to use (Textpad on Windows,
Textmate on OSX, vim or emacs on Linux).

The time it takes you to map your mind to another editor and
the dual command confusion it leads to are not worth the effort.

If you are just starting out and trying to learn your first
programmer's editor learn either vim or emacs on Linux or
cygwin, Textpad on Windows or Textmate on OSX.

Either way, learn one text editor well and use that one
to it's full potential throughout your career.

Dragos
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
new to linux : x window text editor mariogarcia Linux - Newbie 6 09-26-2005 02:56 PM
RegEx Supported Text Editor - Perl Flavor germicide Linux - Software 1 10-05-2004 04:02 PM
Perl Regex Help -- Readin In Text Files smaida Programming 1 04-05-2004 12:27 AM
best text editor for linux ryancw Linux - Newbie 1 09-01-2003 02:32 PM
Linux Text Editor chosmer Linux - Newbie 2 02-25-2002 10:31 PM


All times are GMT -5. The time now is 11:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration