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