Skip to content

"Widdle-to" questions, and related feature suggestions #15

Closed
@bwbug

Description

@bwbug

Very curious about your new --widdle-to option. First of all, as a point of nomenclature, did you perhaps mean to call this "whittle" rather than "widdle"?

Second, even after reading the help text, I'm unclear on what exactly this option does, what some typical use case would be, and how the iteration process works. Perhaps you can explain by way of example?

Third, even before seeing this new option, I had planned to suggest something that is probably not directly related, but may share some similarities, insofar as it is another way of paring down the input list. What I have in mind is simply stripping headers and footers (of known length) from the input file. Some word list files (especially those that contain metadata) may have one ore more rows with header information (e.g., column titles). Other word list files may include a footer (for example, for a PGP signature). To allow tidy to use such lists without first preprocessing the files with a separate app that can strip out the rows that do not contain words, I would suggest that you implement an option with a syntax like --strip <HEADER_ROWS>,<FOOTER_ROWS> (or if you prefer, two complementary options --strip-first <HEADER_ROWS> and --strip-last <FOOTER_ROWS>) to remove the specified number of header rows and/or footer rows from the file when it is first read in.

To keep things simple, if the <Inputted Word Lists> argument includes more than one file, then the stripping of header and footer rows would be done identically to each of the input files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions