Questions tagged [text]
text intended for human readers, generally consisting of sentences in a human language organized in paragraphs
364 questions
0 votes
1 answer
75 views
remove diacritics in Polish characters [duplicate]
I have a downloaded ebook on my PC that's in Polish, problem is my mp3 that can also display ebooks doesn't have Polish characters so I need a way to edit all the ł, ń, ą, ó etc. into l, n, a, o etc. ...
0 votes
0 answers
59 views
Recover deleted txt file which was stored to btrfs right before another one that I still have
I used my terminal emulator to run a command and redirect output to a text file on my btrfs. Right after, I did the same with another command. I since deleted the first text file and not the second. I'...
0 votes
2 answers
271 views
POSIX definition of a text file seems to accept a file consisting of a single incomplete line as a text file - is this intentional? [closed]
POSIX defines a text file as "a file that contains characters organized into zero or more lines". However, according to POSIX definition of a line, there are two possible "kinds" ...
7 votes
6 answers
844 views
Split column into lines using awk
I have a file that contains a long column and I want to split it into lines, each one with 5 values. E.g., Input file: 1 2 3 4 5 6 7 8 9 10 Output file: 1 2 3 4 5 6 7 8 9 10
0 votes
1 answer
67 views
view a bunch of text files in the terminal [duplicate]
I've got a bunch of text files and pdfs in a directory. If I enter evince *.pdf ..all the pdfs open up in separate windows, I do this quite often. When I enter cat *.txt ..was pleasantly surprised ...
0 votes
1 answer
316 views
How to search in a pdf or text file by a regex pattern and output locations of matches?
Is there a pdf viewer that allows me to search its text by a regex expression? In case that I haven't found one, I am thinking about extracting the text and layout from a pdf file by less my.pdf > ...
2 votes
2 answers
331 views
Reformat text to exact width [duplicate]
On Ubuntu, how to reformat text to fit width (except final line), adding spaces where necessary? The closest I can get is with fmt --width=64, but this does not add the spaces between words. Input ...
0 votes
0 answers
167 views
Geany: Possible to automatically enable/disable line wrap dependent on file type?
In Geany text editor / IDE, is there a way to tell it to automatically enable line wrapping for certain file types, but not for others? For example, for .txt files, I would like it to always enable ...
2 votes
2 answers
3k views
export/convert emails (.eml files) to plain text
So I have an ancient archive of emails and I want to combine them into one big happy text file, can that be done? I notice when I view an email and cut and paste the content I get exactly what I want ...
1 vote
0 answers
86 views
Is there a way to change text size on a console screen, specifically XAMPP shell console?
I simply just want to be able to display the text at a smaller size as it currently is too large and messes with the display of the output (at least on my laptop screen which isn't all too big, but ...
1 vote
0 answers
817 views
Copy all text in a tmux pane?
How can I copy all the text in a tmux pane? Pressing Ctrl + b and ] I can select a portion of text, but it is cumbersome to scroll all the way to the top in a long pane. Is there an easier way to ...
1 vote
1 answer
2k views
mate-terminal showing unwanted text when it starts
i'am on parrot OS, after a forced restart my mate-terminal begun showing text from bashrc every time it started, after a "clear" it goes away and the prompt is properly colored and ...
0 votes
1 answer
145 views
How to do replace with the dte editor
The dte editor a small and easy to use console text editor. In readme or its online doc, both says: Regex search and replace (are the key features). However, I haven't found how to do the replace ...
0 votes
0 answers
141 views
How to "fuzzy" match (misspelled) strings in a directory?
I would like to search a directory(tree) with textfiles for strings that are approximately similar to a certain string, similar to this https://en.wikipedia.org/wiki/Approximate_string_matching. I ...
1 vote
0 answers
51 views
Debian terminal not displaying correct Unicode half-block characters [duplicate]
I have a program that prints Unicode half-block characters (U+2580, U+2584), but on Debian 10 terminals (just the fullscreen terminal, no X), it's printing diamonds instead of half-blocks. The two ...