diff options
author | 2021-04-08 14:34:35 +0200 | |
---|---|---|
committer | 2021-04-08 14:34:35 +0200 | |
commit | 415b4ea99169fb4676e3b3365129dc267606fc3e (patch) | |
tree | 5fa85245f1c490cc56131e08b886e8e418d81da4 | |
parent | 10dffa839f8c26ee6c5858be9405e59a9bd6d649 (diff) | |
download | acme-scripts-415b4ea99169fb4676e3b3365129dc267606fc3e.tar.gz acme-scripts-415b4ea99169fb4676e3b3365129dc267606fc3e.zip |
Add c- sections
-rw-r--r-- | README.md | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -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 |