summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/clock/run.pre
diff options
context:
space:
mode:
Diffstat (limited to 'share/hackvr/examples/clock/run.pre')
-rwxr-xr-xshare/hackvr/examples/clock/run.pre2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hackvr/examples/clock/run.pre b/share/hackvr/examples/clock/run.pre
index aa426b6..ed0e68b 100755
--- a/share/hackvr/examples/clock/run.pre
+++ b/share/hackvr/examples/clock/run.pre
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
if [ "$1" = "init" ];then
- grep -A1000 '___CUT___' "$0"
+ grep -A1000 '^___CUT___' "$0" | tail -n+2
exit
elif [ "$1" = "set" ];then
hour=$(date +%H | sed 's/^0//')