Ubuntu :: Text Editor Column Editor And Regex Search/replace, Incrementing Number Insert?

Jul 25, 2011

On windows I really only used Notepad++ as my text editor, it had two features that I loved.What I need to accomplish is what I would do with Notepad++ column editor.I could have like 100 lines, and place the cursor at a column, and goto edit>column editor, and I could insert an incrementing number. (I could also pad the incrementing number with 0s, this was GREAT for making batch files among other things.)So each line at that column had a number higher than the previous line.The other feature that I used sometimes was a search/replace with regex patterns.Does anyone know of an editor that has those features for linux? I am mostly after the column editor insert feature but if you know of one with both features that would rock.

View 1 Replies


ADVERTISEMENT

Ubuntu :: Text Editor With Column Mode?

Sep 23, 2010

text editor that has column mode capabilities like UltraEdit?

View 5 Replies View Related

General :: Insert Character Code Into Text Editor?

Aug 11, 2010

I need a lightweight GUI text editor on my Ubuntu Lucid system which lets me specify a Unicode code point (e.g. U+1234), and inserts that character to a UTF-8 text document. I know that gedit can't do it (not even with the Character Map plugin).

I'm not interested in solutions involving any kind of emacs or vi. I'm also not interested in text editors running in the terminal (such as joe, which has this functionality). I need the absolute simplest, smallest and fastest plain text editor for Linux which lets me type a few letters, insert a few characters by their code, type some more letters, and then save the .txt file as UTF-8-encoded.

View 1 Replies View Related

Programming :: Text Editor With Search And Capture

Dec 6, 2010

i was wondering if in all the editors/tools in linux, if there was a prog that can extract a portion of a text file, giving it a starting line of say o as the first character on a line of say o35565 oxxxxx then when it finds the next line down the file with the same thing oxxxxwhatever

it could take those lines and all the lines between them and save it to another file? i dont know if you call this parsing? or what.

View 14 Replies View Related

Programming :: Sed One-liner: Search Text In File And Replace It - If Not Present Insert It?

Oct 16, 2010

As indicated in the subject, I want to search a text. If the text is present I want to replace it. But if the text is not present, I want to insert it after first line and before last line.

Searched text is:CleanCache "*";

Where * can be anything.

Example: CleanCache "false"; -> CleanCache "true";

If CleanCache "false"; is not present, only insert CleanCache "true"; after first line and before last line.

View 8 Replies View Related

Programming :: Replace String By Incrementing Number

May 30, 2011

Say I have a file as

[code]....

It would be great, if i could issue a command (Vi/Bash/awk, ...) in order to obtain

[Code]...

So, the "replace string" should be replaced by another string containing the counter of replacement.

View 7 Replies View Related

Programming :: Sed To Search And Insert Column?

Feb 24, 2011

I have the following file.

B0 49.2230869 -102.5743868
C 1LPRK 654.90
C 1PREU 3693.90
C 1JRSU 3693.90

[code]....

I need to insert text ABCDEF starting at position 26 if a line starts with C. I need it to look like:

C 1VKNG ABCDEF 3097.00
C 1JLFU ABCDEF 3157.20
C 1MNVL ABCDEF 3346.10

I would prefer to use sed to do this and not perl.

View 14 Replies View Related

General :: Emacs - Search And Replace Regex In Multiple Buffers?

Apr 7, 2009

I'm fairly comfortable with emacs but I can't seem to find how to do this. I deal with a lot of text files and find myself performing a lot of regular expression replacements to correct the formatting of the text -- or to extract certain tidbits of data from large ugly-looking files.

I know how to perform a regular expression replacement in one buffer at a time. But how do you perform a regular expression search and replace across all open buffers? I have found a method to perform a regex search and replace across a directory by marking files but I need to do it in the open buffers.

View 2 Replies View Related

Ubuntu :: Editor Which Can Highlight A Search Term?

Oct 20, 2010

I'm looking for a simple text editor which could highlight all occurrences of search term in the opened text file. This is a feature that I particularly like in the Windows Notepad++ editor where any selected word is automatically highlighted in the rest of the document.

View 5 Replies View Related

Ubuntu :: Text Editor To Preserve Indentations On Wrapped Text?

Mar 21, 2010

I'm looking for a light-weight text editor for general-purpose composition that can preserve indentations on wrapped lines.

View 3 Replies View Related

Ubuntu :: Text Editor That Will Let Color Or Highlight Text On Demand?

May 11, 2010

Is there a simple text editor for Linux that will let you color or highlight text on demand? Something like gedit or leafpad with color? I know I can probably do this with vi or emacs, but I'm looking for something simple, need not be feature rich.

View 4 Replies View Related

General :: Default Editor Can Be Changed In Redhat To Different Editor?

Mar 10, 2011

How default editor can be changed in redhat linux to different editor.

View 4 Replies View Related

Programming :: Construct A Quick Regex That Will Search For Six Lines Of Text

Apr 25, 2011

I am trying to construct a quick regex that will search for six lines of text without a clear line break between them. It only needs to search, not replace, as I will be using in gEdit (with regex plugin) anyway.

It's for editing subtitle files. The video player I will be using them on can only cope with 3-line subtitles, so I just need to edit any in the srt file that contain four or more. There won't be many so I can do it manually. For example:

26
00:01:47,357 --> 00:01:49,359
a motivated business
professional with
clearly defined goals.

[Code].....

but .* seems to mean "any character, or none", so that doesn't work. My experience of regular expressions is limited, but I do know they are very powerful when used correctly!

View 10 Replies View Related

General :: All Text In Text Editor Turned To Boxes?

Jul 17, 2009

I was trying to install GTK+-2.8.20, so I installed it's necessary dependencies in this order:

pkg-config-0.23
glib-2.20.4
pango-1.24.4
jpeg library
tiff library
cairo

And I was about to install the last dependency: ATK (Accessability Toolkit).I opened the Archive Manager to extract the "atk-1.26.0.tar.gz" file (yes, I'm still switching from Windows so I'm fond of GUI), but I noticed all the text in that window was boxes, like the □ type box for every letter of text.So instead I thought it wouldn't be a big deal, because the terminal and regular windows weren't screwed up.I opened a text file in gedit (reference to commands in terminal, such as how to extract files via terminal), but yet again all of the text was □-like boxes.

View 2 Replies View Related

General :: Vi Editor - Move Cursor To A Specified Line Number?

Dec 6, 2010

I am using Vi editor for editing and configuring my file.I am facing a little problem when there is long file like 3000 lines. Normally i use

Code:

:set number

in vi editor to visible my line number.The problem is when i have to go in the top of the file like say line number one I use k for it and to move down I use j which is too much time consuming. How can i jump directly my cursor to line number 2333 or line number 2600.

View 4 Replies View Related

OpenSUSE :: Lancelot Search Doesn't Notice Menu Editor Changes?

Feb 27, 2011

I have a few items in the Menu that refer to the start scripts of extracted Java programs that came as tarballs.Go into the Menu Editor and rename one of these (e.g. to reflect an updated version)Save - Message says "Updating System Configuration"Browse using Lancelot - the old name is not there but the new one is.Search using Lancelot - the new name is not there but the old one is.The new name is only in the search after reboot.Is there anyway to get Lancelot to update the search index straight away after a menu editor change?

View 1 Replies View Related

General :: Search A String Having Spaces / Slashes / Colons In Vi Editor

Feb 2, 2010

I need to seach a string containing

the substring of 'New Request object:'

and

the substring of '/0x2ab46b1f90' in vi editor,

how do I accomplish that?

View 7 Replies View Related

OpenSUSE :: Vi Editor Ctrl-g Does Not Display Cursor Line Number

Aug 5, 2010

On Solaris UNIX, pressing Ctrl-g displays the line number for the cursor position.

i.e. line 1 0f n* --0%--

But, on suse Ctrl-g on displays the percentage only, not the hard line number

i.e. n* lines --8%--

Anyway I can make vi display hard line just like Solaris?

View 6 Replies View Related

Ubuntu :: Best C++ Compiler - Text Editor

Mar 1, 2010

Is there anything like Visual C++ on linux? Or just a text editor and a seperator compiler?

What's the best C++ Compiler, and best Text Editor with C++ syntax highlighting.

View 9 Replies View Related

Ubuntu :: Using The Notepad++ For Text Editor?

May 3, 2010

I would like to use notepad++ for my text editor. Is there away to get this only my Ubuntu 10.04 Netbook?

View 5 Replies View Related

Ubuntu :: Looking For Specific Text Editor

Jul 20, 2010

You know how nano, vi, vim, etc... all use the entire screen when they are started? I am wondering if it is possible to get a text editor (or modifying an existing one) that doesn't take the entire terminal. The reason for this is that I to look at the output of a different command, then modify a different file while looking at the output. I want to be able to do this very fast, and it would be great if there was some way I could this all in one shell instead of creating two terminals and resizing or flipping between them. I realize the ideal solution would be a second monitor, but I can't get that right now.

View 6 Replies View Related

Ubuntu :: PDF Searchable Text Editor?

Feb 25, 2011

I recently scanned in a whole bunch of hand written notes and compiled them in a few pdf documents. I was just wondering if there was some way to edit the underlying searchable data, so that I may be able to give keywords to pdf pages (i.e. I have a page of notes that is dealing with energy conservation, so I could under the image data write "energyconservation, problem 2.3") and jump to that page.

View 2 Replies View Related

Ubuntu :: Using Kate Text Editor

Aug 4, 2011

I would like to start using kate to write c++ programs but kate i am not sure how to go about actually running the code. Right now i just have a simple Hello World script. How would i now run this and see an output on the konsole?

View 2 Replies View Related

General :: CLI RTF Text Editor?

Jan 14, 2011

I am really trying to find a cli/console text editor that can open/edit RTF text files? I know they them for Dindows, but what about Linux?

View 1 Replies View Related

Software :: Best (non) GUI Text Editor

Jan 2, 2010

I wanted to know what is the best (non) GUI text editor for Linux.I know there are emcas, vi(m), pico, nano, ted, ed, and so others.But I can't learn working with all of them.Which one is the best for non professional for standard text editing and a little programming?

View 7 Replies View Related

Ubuntu :: Wont Save In Text Editor?

Jan 9, 2010

I try to name a file in the editor with this and nothing happens...(creating a conky_start.sh file under home directory and add it to start up)$cd && touch conky_start.sh && chmod +x conky_start.sh && gedit conky_start.shAnd add these lines to that file and save it :

#!/bin/bash
sleep 30 &&
exec conky -d -c ~/.conkyrc &

[code]....

View 2 Replies View Related

Ubuntu :: Text Editor With End-of-line Options

Jan 10, 2010

I'm an Ubuntu newbie and I'm looking for a text editor that has options for DOS-like or Unix-like end of line characters. I'm used to working with Notepad++ for windows that has an option for Unix/Mac/DOS end-of-line characters.It would be great if I could find a text editor for Ubuntu that has this built in or as a plugin instead of running the file through a converter.

View 3 Replies View Related

Ubuntu :: Change The Default Text Editor?

Jun 4, 2010

I'm using Thunar, and I would like to know how to change the default text editor. It's set to emacs (due to a weird install), and I'd like it set to gedit globally.

View 3 Replies View Related

Ubuntu :: Screem Text Editor How To Install?

Jul 3, 2010

I have just downloaded the Screem text editor source from their website.I tried to aptitude it first, but it wasn't available in the repos. So I thought maybe building from the script would be the solution. The problem is, this package doesn't build with the usual configure, make and make install commands.Well ./configure works. It checks the system and dependencies.

View 7 Replies View Related

Ubuntu :: Setting Vim As Default Text Editor?

Jul 13, 2010

I'd like to set Vim as my default text editor (so it opens when I click a file). How can I do this?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved