[go: nahoru, domu]

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

Make a syntax checker & sorter #2

Open
Rudxain opened this issue Jan 14, 2023 · 0 comments
Open

Make a syntax checker & sorter #2

Rudxain opened this issue Jan 14, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Rudxain
Copy link
Owner
Rudxain commented Jan 14, 2023

Make a Python script that "validates" main.txt.

  • It'll print to stderr if any line doesn't contain exactly 1 " - "
  • It shows a suggestion if there's a missing "-" that's commented-out
  • It sorts the file when called with the "sort" subcmd
  • Has a "binary insertion" feature, accessed via "add" subcmd, to efficiently insert a track without sorting the list
  • The sorter is case-insensitive, and ignores comments
  • Has a "sanitize" subcmd that checks, sorts, and dedupes, lines
@Rudxain Rudxain added the enhancement New feature or request label Jan 14, 2023
Rudxain added a commit that referenced this issue Feb 12, 2023
progress on #2
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

1 participant