From e69ac890753c28b3c543eb1f0f662efbc422d226 Mon Sep 17 00:00:00 2001 From: onceupon Date: Wed, 13 Jul 2016 16:29:31 +0800 Subject: [PATCH] add sed --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index ad7369e..db7cb58 100644 --- a/README.md +++ b/README.md @@ -146,6 +146,11 @@ sed 's/^$/d' sed '$d' ``` +#####add string to end of each line (e.g. "}") +```bash +sed -e 's/$/\}\]/' +``` + #####add \n every nth character (e.g. every 4th character) ```bash