Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate all words in a structured file and generate individual wordlists from the file #2

Open
imsky opened this issue Jan 13, 2019 · 4 comments

Comments

@imsky
Copy link
Owner

imsky commented Jan 13, 2019

a root-level JSON should work

@bcopeland
Copy link

In case it is of any use, you can get pretty far towards a consolidated file with just a bunch of unix tools:

 grep -r '' . | grep .txt | awk -F '/' '{print $NF}' |
    sed -e "s/.txt//g" | awk -F: '{print $2 " " $1}' | sort

excerpt:

young age
young chicago
young english
you're* reddit
you scary reddit
you wouldn't download reddit
yr hipster
yukon microsoft
yverdon-les-bains switzerland
zaanstad netherlands

@imsky
Copy link
Owner Author

imsky commented Oct 28, 2020

ok might give that a try @bcopeland as a first pass, thanks

@origintopleft
Copy link

I have a Python script within one of my own projects that takes all the files of wordlists and renders them as a module file for the Rant procgen language. I'd like to fix it up, add support for rendering JSON files using Python's standard library functions, and submit it directly to this repository. Do you have a preferred location for utility scripts like this, or should I just copy it to the repository root?

@imsky
Copy link
Owner Author

imsky commented Jan 19, 2023

@origintopleft add to root for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants