aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2021-04-08 14:34:35 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2021-04-08 14:34:35 +0200
commit415b4ea99169fb4676e3b3365129dc267606fc3e (patch)
tree5fa85245f1c490cc56131e08b886e8e418d81da4
parent10dffa839f8c26ee6c5858be9405e59a9bd6d649 (diff)
downloadacme-scripts-415b4ea99169fb4676e3b3365129dc267606fc3e.tar.gz
acme-scripts-415b4ea99169fb4676e3b3365129dc267606fc3e.zip
Add c- sections
-rw-r--r--README.md17
1 files changed, 16 insertions, 1 deletions
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