Skip to content
This repository was archived by the owner on Nov 11, 2023. It is now read-only.

Wording and spelling corrections #12

Merged
merged 1 commit into from
Jul 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hasher.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 3 - Hasher

takes the input and hash it with Blake 3 algorithm.
Takes the input and hash it with Blake 3 algorithm.

[hasher.zig](code/hasher.zig)

Expand Down
4 changes: 2 additions & 2 deletions shell.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 6 - Shell

a very simple Shell, that split the arguments by whitespaces and spawn the process. it also extends built-in commands (`clear` and `exit`).
A very simple Shell that split the arguments by whitespaces and spawn the process. It also extends built-in commands (`clear` and `exit`).
you may try to make it smarter and add some modern shells features like history, autocomplete, git integration, etc.

[shell.zig](code/shell.zig)
Expand Down Expand Up @@ -34,7 +34,7 @@ fn getArgs(allocator: mem.Allocator, cmd: []const u8) !?[]const []const u8 {
return args.toOwnedSlice();
}

// evulate commands
// evaluate commands
fn evaluateCmd(args: []const []const u8) !void {
if (args.len == 0) {
return Error.EmptyCommand;
Expand Down
2 changes: 1 addition & 1 deletion src/shell.zig
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fn getArgs(allocator: mem.Allocator, cmd: []const u8) !?[]const []const u8 {
return args.toOwnedSlice();
}

// evulate commands
// evaluate commands
fn evaluateCmd(args: []const []const u8) !void {
if (args.len == 0) {
return Error.EmptyCommand;
Expand Down
2 changes: 1 addition & 1 deletion word-generator.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 5 - Word Generator

generates random words by the given length (words, letters).
Generates random words by the given length (words, letters).

```php
$ ./wg 5 4 # <letters count> <words count>
Expand Down