The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
2answers
49 views

Select all instances of quoted text from a file

Is there any way to grep or obtain in any other way all instances of text within each pair of double quotes in a file? I've seen answers like this: ...
0
votes
0answers
7 views

Move text with keyboard shortcut in linux

I've gotten used to being able to move text up and down, (swapping lines) with a keyboard shortcut in an IDE. Is there any software for linux that would allow me to use a keyboard shortcut for this in ...
1
vote
3answers
53 views

Extract multiple sections of pages from a pdf

I have a ton of pdf files (past exams), of which only two sections of pages (about 8 pages each) are relevant to me. I'd like to extract the two sections into a separate file for each of them. I used ...
0
votes
1answer
101 views

Line Manipulation Reformat text Notepad++ or PSPaD

I have about 40,000 lines I need to look like first line - no paragraph marks. The trouble is, I can't use join lines then use (\d\D+)& $1\n to get like line 1 because of numbers inside of ...
2
votes
2answers
144 views

how to insert text at the beginning of each paragraph in bash

I have a file with multiple paragraphs separated by blank line. Technically they are not paragraphs just sections of text separated by blank line. I want to number the paragraphs so to speak by ...
1
vote
2answers
235 views

Adding text to the end of multiple files, minus one line( Adding return 0; at the end of each program in C)

I have a bunch of C programs from K&R and of course, no return statement. I was wondering if there was a way to cat to the end of each file (except one line before the end, so EOF - 1) the ...
0
votes
2answers
1k views

Is there any way to reverse text and *character* direction in a pure text document?

I have some text in Latin script (English transcription of Farsi) that I would like to display right-to-left in ordinary text documents (and on my iPod) – is that possible? How? Here’s an example of ...
0
votes
2answers
707 views

How to combine and permute two wordlists

I would like to combine and/or permute the words from a list up to 3 times. For example: If I have one list with: apple orange cafe and another list with: 11 22 33 it should produce ...
0
votes
4answers
110 views

Edit all lines at once

I have a .txt file with almost all of the airports in the world. Each line is a different airport, and the lines are in this format: City, Country - Airport Name (Airport Code) ie: Le Mans, France - ...
0
votes
0answers
90 views

Replace text with multiple unique values each time

Is there any way to replace text that appears several times in a .txt file with a unique value each time? To be more specific: This is the given document: value="something"* other text* ...
1
vote
1answer
431 views

Delimited string to rows in Microsoft Excel

I am looking to see if I can solve this problem using Excel- if not, I can write a script that would help me do this instead but it would be a little more time consuming. Here is my data set: This ...
0
votes
1answer
470 views

Edit and rearrange a file via command line, imported from Excel 2003

I have a text file imported from Excel 2003 in the following basic format. 43038 12500 s.ramesh labour 43038 13000 m.ramesh doctor I have to arrange this file in such a format ...
2
votes
1answer
2k views

Character String Conversion using Python

Hi I have a website that is in Traditional Chinese and when I check the site statistics it tell me that the search term for the website is å%8f°å%8d%97 親å­%90é¤%90廳 which obviously makes no sense ...
1
vote
2answers
238 views

Mass text manipulation?

I have a text file of a couple of hundred thousand words. E.g.: word1 word2 etc I want to know what program I can use to easily: Add "FRONT" to the front of the text, and Add "BACK" to the end of ...
4
votes
5answers
6k views

How Does One Remove Duplicate Text Lines From Files Larger Than 4GB?

I am looking for an open source (possibly 64 bit) windows text editor that will allow me to remove duplicate lines from an extremely large (4GB+) text file. What do you use to remove duplicate lines ...
0
votes
2answers
798 views

What the best program for string manipulation [closed]

I would like to know the best program (Surely a text editor) to make string manipulation like string substituion. By the way, I would like to do the next: String manipulation of type String ...
10
votes
5answers
10k views

How can I reverse a line in Notepad++?

Is it possible to reverse a single line in Notepad++? Example: Hello world Would change to dlrow olleH Should I install a plugin for such functionality? UPDATE: I'd like to keep the clipboard in ...
2
votes
5answers
1k views

Easiest way to remove unwanted lines from a huge text file

I have a large text file with a size of more than 30 megabytes. I want to remove all the lines which don't match some specific criteria, e.g. lines that don't have the string 'START'. What's the ...
34
votes
14answers
41k views

Linux command to repeat a string n times

Is there any built-in Linux command that allows to output a string that is n times an input string??