Questions tagged [words]
The words tag has no summary.
19 questions
0
votes
0
answers
40
views
How to convert list of words separate by comma to column?
How to convert list of words separate by comma to column?
I have this
"word, other word, another one"
I want
word
other word
another one
How to do?
0
votes
1
answer
152
views
Does /usr/share/dict/words contain personal information?
I am considering including a copy of my /usr/share/dict/words file in a public GitHub repository for a project that requires dictionaries. Is this a bad idea, and if so, why?
I'm particularly ...
3
votes
2
answers
1k
views
I want to find lines where a specific word appears in a file along with line number and take the line numbers in an array .How to do that in bash?
This returns line numbers but they are in a string:
grep -n -F -w $word $file | cut -d : -f 1
0
votes
1
answer
691
views
Creating word list from document
I'm trying to find an efficient way of learning vocabulary in new languages. I'd like to be able to create word lists using files that contain books.
I'm new to Linux, any help much appreciated.
I ...
4
votes
1
answer
758
views
Inverse grep does not find all matching lines
EDIT: I am making this too complicated. It's not about inverse grep. I get the same results using just grep -x -f stop.txt < in.txt. If who comes before whose in the stop word file, the result is ...
0
votes
0
answers
129
views
Terminal Emulator Blinking Words in VIM
I am starting to write LaTeX documents in VIM and here is my code:
\documentclass{article}
\begin{document}
\frac{2x}{2} *
\end{document}
For some reason, the following characters are blinking in ...
-5
votes
1
answer
295
views
Who is responsible for /usr/share/dict/words ? (slurs found)
I am writing an application that makes use of /usr/share/dict/words file to generate session keys.
I was appalled to find that the most egregious of ethnic slurs - the 'N-word' (in different spellings)...
1
vote
2
answers
461
views
Most Frequent Word in a Text
Task
The parameter here is a filename! The file contains a text. The task of the script is to decide which word is contained most frequently in other words.
Example Input And Output
(e.g. the text is:...
1
vote
2
answers
2k
views
How to get a random adjective or noun?
I did find a list of words in /usr/share/dict/words but I don't know if there's a way (an already existing way?) to split them up into their corresponding part of speech? Alternatively, I'm fine with ...
0
votes
0
answers
90
views
Remove words from dictionary which has two or more letters at any plave in wor
Basicaly I have dictionary from which I would like to remove words which contain two or more letters at any place in sentence for ex.
bold
leTTer
reMoveMe
quote
lanGuaGe
spaces
Output should be like ...
0
votes
3
answers
245
views
extract specific words and its data from html/xml file
sample input is
<bre rt="1600" et="1550794901464" st="1550794899864" tid="8390500116294391399" mh="N" cn="" lc="" ts="N/A" cidc="" IDC="" eidc="BRE-S-TRA-0085418501"/>
<r1>
&...
3
votes
1
answer
9k
views
How to split files with numeric names?
I'm trying to split text file into files of 1024 lines, so I ran split with the -d switch:
split -d -l 300 ./list.lst
I get some weird names: they start with x and the file names jump from x89 to ...
0
votes
4
answers
5k
views
finding words that contain only 3 characters using sed in a file
I need to print only words that consist of 3 characters, however the word document is a numbered list.
Here's the exact question that I have to answer:
Using the sed command with [[:lower:]] ...
1
vote
2
answers
2k
views
crunch wordlist generation with all combinations
I'm trying to generate a wordlist in order to use it to bruteforce my own Truecrypt container. I do know parts of the password, its built up using blocks of other known passwords to increase length, ...
3
votes
4
answers
2k
views
sort letters in a single word - use it to find permutations (or anagrams)
I have some dictionary to myspell in file.dic. Let's say:
abc
aword
bword
cab
worda
wordzzz
and I'm looking for different words that are permutations (or anagrams) of each other.
If there was a ...