Skip to content

Commit

Permalink
Release 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yarrow committed Apr 18, 2023
1 parent 10033d5 commit c1ee170
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Change Log

# [1.0.0] — under development
# [1.0.0] - 2023-04-18

## Added
- Add the `--count-lines` flag to show the number of times each line occurs in the input and the `--count-files` flag to show the number of files each line occurs in. The `--count` flag acts like `--count-lines` unless `--count-files` is active, in which case it acts like `--count-files`. The `--count-none` turns off counting, and can be used to override the other `count` flags. (In the usual POSIX convention, the last `count` flag given will override any previous `count` flag.)
- Add the `--count-lines` flag to show the number of times each line occurs in the input and the `--count-files` flag to show the number of files each line occurs in. The `--count` flag acts like `--count-lines` unless `--count-files` is active, in which case it acts like `--count-files`. The `--count-none` flag turns off counting, and can be used to override the other `count` flags. (In the usual POSIX convention, the last `count` flag given will override any previous `count` flag.)

## Changed
- **Breaking:** When `-` is used as a file argument, `zet` reads from standard input, not the file `-` in the current directory. (That file can be passed to `zet` as `./-`)
Expand Down Expand Up @@ -57,7 +57,7 @@

Initial release

[1.0.0]: https://github.com/yarrow/zet/compare/v0.2.6...HEAD
[1.0.0]: https://github.com/yarrow/zet/compare/v0.2.6...v1.0.0
[0.2.6]: https://github.com/yarrow/zet/compare/0.2.5...v0.2.6
[0.2.5]: https://github.com/yarrow/zet/compare/0.2.0...0.2.5
[0.2.0]: https://github.com/yarrow/zet/compare/v0.1.1...0.2.0
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zet"
version = "1.0.0-prerelease.2"
version = "1.0.0"
authors = ["Yarrow Angelweed <yarrow.angelweed@gmail.com>"]
description = "zet finds the union, intersection, set difference, etc of files considered as sets of lines"
documentation = "https://github.com/yarrow/zet"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Here are the subcommands of `zet` and what they do:

The `--count-lines` flag makes `zet` show the number of times each line occurs in the input.
The `--count-files` flag shows the number of files each line occurs in.
The `-c` or `--count` flags act like `--count-lines`, unless `--files` is in effect, in which case they act like `--count-files`.
The `-c` or `--count` flags act like `--count-lines`, unless `--files` is in effect, in which case they act like `--count-files`. The `--count-none` flag turns off counting, and can be used to override the other count flags. (In the usual POSIX convention, the last count flag given will override any previous count flag.)

## Example

Expand Down Expand Up @@ -83,7 +83,7 @@ in order to count lines.
* When no file path is given on the command line, zet reads from standard
input.
* When a file argument is `-`, `zet` reads from standard input rather than the
file named `-`.
file named `-`. (That file can be passed to zet as `./-`)
* Zet translates UTF-16LE and UTF-16BE files to UTF-8, and ignores Byte Order
Marks (BOMs) when comparing lines. It prepends a BOM to its output if and
only if its first file argument begins with a BOM.
Expand Down

0 comments on commit c1ee170

Please sign in to comment.