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

sort: Move help strings to markdown file #4808

Merged
merged 2 commits into from
Apr 30, 2023

Conversation

iambasanta
Copy link
Contributor

Move help strings for sort to its own markdown file.


## After help

The key format is FIELD[.CHAR][OPTIONS][,FIELD[.CHAR]][OPTIONS].
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please ignore this warning

src/uu/sort/sort.md Outdated Show resolved Hide resolved
src/uu/sort/sort.md Outdated Show resolved Hide resolved
Comment on lines 13 to 19
Fields by default are separated by the first whitespace after a non-whitespace character. Use -t to specify a custom separator.
In the default case, whitespace is appended at the beginning of each field. Custom separators however are not included in fields.

FIELD and CHAR both start at 1 (i.e. they are 1-indexed). If there is no end specified after a comma, the end will be the end of the line.
If CHAR is set 0, it means the end of the field. CHAR defaults to 1 for the start position and to 0 for the end position.

Valid options are: MbdfhnRrV. They override the global options for this key.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Fields by default are separated by the first whitespace after a non-whitespace character. Use -t to specify a custom separator.
In the default case, whitespace is appended at the beginning of each field. Custom separators however are not included in fields.
FIELD and CHAR both start at 1 (i.e. they are 1-indexed). If there is no end specified after a comma, the end will be the end of the line.
If CHAR is set 0, it means the end of the field. CHAR defaults to 1 for the start position and to 0 for the end position.
Valid options are: MbdfhnRrV. They override the global options for this key.
Fields by default are separated by the first whitespace after a non-whitespace character. Use `-t` to specify a custom separator.
In the default case, whitespace is appended at the beginning of each field. Custom separators however are not included in fields.
`FIELD` and `CHAR` both start at 1 (i.e. they are 1-indexed). If there is no end specified after a comma, the end will be the end of the line.
If `CHAR` is set 0, it means the end of the field. `CHAR` defaults to 1 for the start position and to 0 for the end position.
Valid options are: `MbdfhnRrV`. They override the global options for this key.

@iambasanta iambasanta force-pushed the sort-move-help-strings-to-md-file branch 2 times, most recently from 822df36 to e5a8cdc Compare April 30, 2023 15:03
@iambasanta iambasanta force-pushed the sort-move-help-strings-to-md-file branch from e5a8cdc to 687bf09 Compare April 30, 2023 17:29
@sylvestre sylvestre merged commit 70b69ef into uutils:main Apr 30, 2023
@iambasanta iambasanta deleted the sort-move-help-strings-to-md-file branch May 1, 2023 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants