diff options
author | 2021-04-08 13:54:25 +0200 | |
---|---|---|
committer | 2021-04-08 13:54:25 +0200 | |
commit | a0a46510f144d53ff9919ae810fd6a22e17ac635 (patch) | |
tree | 2760b4914ed683b61507db95b871de0e6d408e5a /c-.sh | |
parent | 157f6c250769c66dba53962bb32d245b76188721 (diff) | |
download | acme-scripts-a0a46510f144d53ff9919ae810fd6a22e17ac635.tar.gz acme-scripts-a0a46510f144d53ff9919ae810fd6a22e17ac635.zip |
Rename uc.sh in c-.sh
Diffstat (limited to 'c-.sh')
-rwxr-xr-x | c-.sh | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +#!/bin/sh + +symbol="$1" + +if [ -z "$symbol" ]; then + symbol="//" +fi + +sed -E "s|^$symbol*||" |