Skip to content

Commit 6902861

Browse files
committed
Merge pull request redis#356 from craigbarnes/echoenfix
Portability nitpick
2 parents 596002f + 78ca6be commit 6902861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

topics/pipelining.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ This is called pipelining, and is a technique widely in use since many decades.
3636

3737
Redis supports pipelining since the very early days, so whatever version you are running, you can use pipelining with Redis. This is an example using the raw netcat utility:
3838

39-
$ (echo -en "PING\r\nPING\r\nPING\r\n"; sleep 1) | nc localhost 6379
39+
$ (printf "PING\r\nPING\r\nPING\r\n"; sleep 1) | nc localhost 6379
4040
+PONG
4141
+PONG
4242
+PONG

0 commit comments

Comments
 (0)