aboutsummaryrefslogtreecommitdiff
path: root/c.sh
diff options
context:
space:
mode:
Diffstat (limited to 'c.sh')
-rwxr-xr-xc.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/c.sh b/c.sh
new file mode 100755
index 0000000..146f0a6
--- /dev/null
+++ b/c.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+symbol="$1"
+
+if [ -z "$symbol" ]; then
+ symbol="//"
+fi
+
+sed -E "s|^|$symbol|"