The command for editing the dictionary.

174region174

Active member
Joined
Jun 30, 2021
Messages
134
Reaction score
173
Credits
881
My dictionaries have the form

What command should I run to get the file of this form?
I noticed. The dictionary in Figure 2 contains more words. It takes up less hard disk space.
 

Attachments

  • dic1.png
    dic1.png
    13.4 KB · Views: 35
  • dic2.png
    dic2.png
    112 KB · Views: 36

D3F4ULT

Active member
Contributor
Joined
Dec 30, 2019
Messages
320
Reaction score
42
Credits
397
you can use emeditor for that go to replace tab select "Regular Expressions" and type "\n" in "Find" and type "." in "Replace With" then press the "Replace All" button
 

174region174

Active member
Joined
Jun 30, 2021
Messages
134
Reaction score
173
Credits
881
you can use emeditor for that go to replace tab select "Regular Expressions" and type "\n" in "Find" and type "." in "Replace With" then press the "Replace All" button
It didn't work.
 

Attachments

  • dic3.png
    dic3.png
    17.2 KB · Views: 10

174region174

Active member
Joined
Jun 30, 2021
Messages
134
Reaction score
173
Credits
881
Yeah. I've already been prompted on another forum, but I haven't done it yet. On Linux, use the command
tr -d '\r' < file.txt > file_without_CR.txt
It might work.
If the words are located in a column in a text document... Its size has been increased almost 3 times.
 

itamatoshi

New member
Joined
Nov 20, 2021
Messages
2
Reaction score
0
Credits
12
My dictionaries have the form

What command should I run to get the file of this form?
I noticed. The dictionary in Figure 2 contains more words. It takes up less hard disk space.

with dot :
aaa.bbb2.ccc13.vvvv.lll!21.wsdsfl!:P!.wedsk!~.aaaa1

Code:
cat withdot | sed 's/\./\n/g'

aaa
bbb2
ccc13
vvvv
lll!21
wsdsfl!:P!
wedsk!~
aaaa1

with newline

bbb2
ccc13
vvvv
lll!21
wsdsfl!:P!
wedsk!~
aaaa1

Code:
cat todot | tr '\n' '.'

aaa.bbb2.ccc13.vvvv.lll!21.wsdsfl!:P!.wedsk!~.aaaa1.
 

itamatoshi

New member
Joined
Nov 20, 2021
Messages
2
Reaction score
0
Credits
12
and it can't contain more words and take less space

printf '\x0A' > dumbtest
printf '\x2E' > dumbtest2
printf '\x00' > dumbtest3

They will be all equal to 1 byte, even the null byte
 

174region174

Active member
Joined
Jun 30, 2021
Messages
134
Reaction score
173
Credits
881
The carriage return and line break command is set between words. I really don't understand what I'm doing. There is no dot. This is displayed by the program itself. Of course, if I understood correctly.
 

Dawbs

Super Moderator
Staff member
Super Moderator
Trusted
Joined
Dec 30, 2019
Messages
3,297
Reaction score
2,076
Credits
11,400
You can compress the wordlist to make it smaller on the disk. Doesn't have a massive impact on speed. Not all compression formats are supported though.
 
Top