From 388d40a6867984313fd0148a1fb7b27215c4fa1d Mon Sep 17 00:00:00 2001 From: strupo Date: Sat, 10 Feb 2018 19:57:24 +0100 Subject: [PATCH] Use the right tools for the right job --- CONFIG-Template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONFIG-Template.md b/CONFIG-Template.md index da46d4e..2253f98 100644 --- a/CONFIG-Template.md +++ b/CONFIG-Template.md @@ -23,7 +23,7 @@ Use these commands to get a copy of the template to your disk and create the dir ```sh curl -Ls "https://raw.githubusercontent.com/wiki/rakshasa/rtorrent/CONFIG-Template.md" \ - | grep -A9999 '^######' | grep -B9999 '^### END' \ + | sed -ne '/^######/,/^### END/p' \ | sed -re "s:/home/USERNAME:$HOME:" >~/.rtorrent.rc mkdir ~/rtorrent ```