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

flushed with files *.txt #2

Open
falkuh opened this issue Apr 24, 2023 · 4 comments
Open

flushed with files *.txt #2

falkuh opened this issue Apr 24, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@falkuh
Copy link

falkuh commented Apr 24, 2023

Hi,
by running as suggested by 'sudoku -help'

sudoku -d 40 -T 4 --algorithm prefill

I am flushed with umpteen files *.txt within seconds. Same with prefill-single.

I cannot believe this is intended. Rather I would like to get a single solution file.

Can you explain?

@607011 607011 self-assigned this Apr 24, 2023
@607011 607011 added the enhancement New feature or request label Apr 24, 2023
@607011
Copy link
Owner

607011 commented Apr 24, 2023

This is intended. Freely choose one of the generated files and you're good to go.

Maybe I'll add a command line switch to limit the number of generated solutions. Would that be a viable solution for you?

@falkuh
Copy link
Author

falkuh commented Apr 24, 2023

YES.

Neither OSX nor Unix are so good at deleting 1Mio files.

Otherwise, great program.

@607011
Copy link
Owner

607011 commented Apr 24, 2023

rm -f sudoku-*.txt ? ;-)

@falkuh
Copy link
Author

falkuh commented Apr 24, 2023

-bash: /bin/rm: Argument list too long

Might work with find.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants