Questions tagged [words]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
23 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
3answers
56 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> &...
1
vote
2answers
300 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
4answers
616 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:]] ...
0
votes
1answer
375 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
4answers
601 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 ...
1
vote
1answer
950 views

How do I use this regex with grep?

I'm new to regex and found a command on a regex tutorial/test site that will allow me to search for 3 consecutive consonants. The only problem is I can't figure out how to use it with grep. Would ...
1
vote
2answers
408 views

Does command substitution within arithmetic substitution get word split?

I seem to recall from comments on this site that the contents of arithmetic expansion may be word split, but I can't find the comment again. Consider the following code: printf '%d\n' "$(($(sed -n '/...
14
votes
15answers
7k views

Bash script: split word on each letter

How can I split a word's letters, with each letter in a separate line? For example, given "StackOver" I would like to see S t a c k O v e r I'm new to bash so I have no clue where to start.
7
votes
1answer
10k views

Where do the words in /usr/share/dict/words come from?

/usr/share/dict/words contains lots of words. How is this list generated? Are its contents the same across different Unices? Is there any standard dictating what it must contain? All I've been able ...