about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--doc/quine-prj.txt4
-rwxr-xr-xexamples/etc/execline-shell11
2 files changed, 7 insertions, 8 deletions
diff --git a/doc/quine-prj.txt b/doc/quine-prj.txt
index e567d07..eca106c 100644
--- a/doc/quine-prj.txt
+++ b/doc/quine-prj.txt
@@ -1,5 +1,5 @@
-#!/command/execlineb
-= e "#!/command/execlineb
+#!/bin/execlineb
+= e "#!/bin/execlineb
 = e $q${E}${q}
 env e=$e
 = q ${b}${q}
diff --git a/examples/etc/execline-shell b/examples/etc/execline-shell
index f16d033..abe5aa0 100755
--- a/examples/etc/execline-shell
+++ b/examples/etc/execline-shell
@@ -1,16 +1,15 @@
 #!/bin/execlineb -S0
 
-` -n defaulthome
+` -n home
 {
   && -nt
   {
-    ` -n defaultuser { id -un }
-    $ -u defaultuser defaultuser $ -D $defaultuser USER USER
+    ` -n user { id -un }
+    $ -u user user $ -D $user USER USER
     < -w 2 /dev/null ~ ${USER}
   }
-  s6-echo /
+  echo /
 }
-$ -u defaulthome defaulthome
-$ -D $defaulthome HOME HOME
+$ -u home home $ -D $home HOME HOME
 tryexec { ${HOME}/.execline-shell $@ }
 /bin/sh $@