Skip to content

Commit c4aced7

Browse files
committed
Merge branch 'master' of https://github.com/nickolasburr/rng
2 parents 5ba52ff + cf040e9 commit c4aced7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Get lines 7-15 in `Makefile`.
4646
rng 7,15 Makefile
4747
```
4848

49-
Skip the first 4 lines of input.
49+
Skip the first 4 lines of input from a pipe.
5050

5151
```
5252
echo -e "First\nSecond\nThird\nFourth\nFifth" | rng 5
@@ -69,3 +69,9 @@ Output all lines except 11-19 in main.c
6969
```
7070
rng ,10:20, main.c
7171
```
72+
73+
Get lines 16-27 of a text document from the web.
74+
75+
```
76+
curl -fsL https://www.w3.org/TR/PNG/iso_8859-1.txt | rng 16,27
77+
```

0 commit comments

Comments
 (0)