From 415b4ea99169fb4676e3b3365129dc267606fc3e Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Thu, 8 Apr 2021 14:34:35 +0200 Subject: Add c- sections --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 030e46e..3728269 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,21 @@ echo test line | c+ ``` or with a custom symbol: ``` -echo test line | c+ \# +echo test line | c+ "#" > #test line +``` + +## c- +Same as `c+.sh` but removes a comment from the beginning of the line. By +default removes a double slash (//) but can be changed the behaviour passing +the symbol you want to remove. +For example: +``` +echo //test line | c- +> test line +``` +or with a custom symbol: +``` +echo "#test line" | c- "#" +> test line ``` \ No newline at end of file -- cgit v1.2.3