We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1c6054 commit 34635bcCopy full SHA for 34635bc
example/example.hacker
@@ -1 +1,16 @@
1
-
+! Example Hacker Lang script
2
+// sudo ! For privileged commands
3
+// apt ! Package manager
4
+@USER=admin ! Set USER
5
+@LOG_DIR=/var/log/hacker
6
+=3 > echo "Run by $USER" ! Loop 3 times
7
+? [ -d /tmp ] > echo "Temp exists" ! Conditional
8
+# util ! Include util library
9
+> sudo apt update ! Update packages
10
+> mkdir -p $LOG_DIR
11
+> echo "Updated at $(date)" >> $LOG_DIR/update.log
12
+[
13
+Configuration
14
+Author: Hacker Lang User
15
+Purpose: System update
16
+]
0 commit comments