Skip to content

Commit f8d5ade

Browse files
whonorerfried-nrl
authored andcommitted
Fix typos
1 parent 276140f commit f8d5ade

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ Some of the features include:
2222
![Demo](https://github.com/mellowcandle/bitwise/raw/master/resources/bitwise.gif "Bitwise demo2")
2323

2424
## Usage
25-
_bitwise_ can be used both Interactively and in command line mode.
25+
_bitwise_ can be used both interactively and in command line mode.
2626

2727
### Command line calculator mode
2828
In command line mode, bitwise will calculate the given expression and will output the result in all bases including binary representation.
2929

30-
_bitwise_ detects the base by the preface of the input (_0x/0X_ for hexadecimal, leading _0_ for octal, _b_ for binary, and the rest is decimal).
30+
_bitwise_ detects the base by the prefix of the input (_0x/0X_ for hexadecimal, leading _0_ for octal, _b_ for binary, and the rest is decimal).
3131

32-
**NEW** Bitwise now support parsing IPv4 addresses, it will also output the possible IPv4 address in both Network and reveresed byte order.
32+
**NEW** Bitwise now support parsing IPv4 addresses, it will also output the possible IPv4 address in both Network and reversed byte order.
3333

3434
### Examples:
3535

@@ -53,7 +53,7 @@ To move around use the arrow keys, or use _vi_ key bindings : <kbd> h </kbd> <kb
5353
Leave the program by pressing <kbd> q </kbd>.
5454

5555
##### Binary specific movement
56-
You can toggle a bit bit using the <kbd> space </kbd> key.
56+
You can toggle a bit using the <kbd> space </kbd> key.
5757
You can jump a byte forward using <kbd> w </kbd> and backwards one byte using <kbd> b </kbd>.
5858

5959
#### Bitwise operation in interactive mode
@@ -62,7 +62,7 @@ You can jump a byte forward using <kbd> w </kbd> and backwards one byte using <k
6262

6363
Reducing or extending the bit width interactively is also very easy, just use:
6464
<kbd> ! </kbd> for 8bit, <kbd> @ </kbd> for 16Bit, <kbd> $ </kbd> for 32Bit and <kbd> * </kbd> for 64Bit.
65-
When changing the bit width, the number is *masked* with the new width, so you might lost precision, use with care.
65+
When changing the bit width, the number is *masked* with the new width, so you might lose precision, use with care.
6666

6767
##### NOT:
6868

@@ -145,7 +145,7 @@ brew install bitwise
145145
```
146146

147147
### Windows
148-
NCurses doesn't support windows. You can use the windows subsystem for Linux as a workaround.
148+
NCurses doesn't support Windows. You can use the Windows Subsystem for Linux as a workaround.
149149

150150
### Nix
151151
```
@@ -188,7 +188,7 @@ Running unit tests by typing
188188
``` make check ```
189189

190190
### Contribution
191-
* Instal prerequisites
191+
* Install prerequisites
192192
* Fork the repo
193193
* Run ```./bootstrap.sh```
194194
* Follow the building from source section.

src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ int print_conversions(uint64_t val, bool si)
6767
printf("%sRadix64: %s%s\n", color_green, color_blue, l64a(val));
6868

6969
if (val >= UINT_MAX) {
70-
printf("%sIPv4: %s%s\n", color_green, color_blue, "Value to big to be a valid IPv4 address");
70+
printf("%sIPv4: %s%s\n", color_green, color_blue, "Value too big to be a valid IPv4 address");
7171
} else {
7272
ip_addr.s_addr = val;
7373
printf("%sIPv4 (Network byte order - Big): %s %s\n", color_green, color_blue, inet_ntoa(ip_addr));
7474
ip_addr.s_addr = bswap_32(val);
75-
printf("%sIPv4 (Reverwsed byte order - Little): %s %s\n", color_green, color_blue, inet_ntoa(ip_addr));
75+
printf("%sIPv4 (Reversed byte order - Little): %s %s\n", color_green, color_blue, inet_ntoa(ip_addr));
7676
}
7777

7878
printf("%sASCII: %s", color_green, color_blue);

0 commit comments

Comments
 (0)