Skip to content

Instantly share code, notes, and snippets.

@noisesmith
Created February 10, 2018 23:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noisesmith/06102f38f14bad40ebe4a04f79f5dfda to your computer and use it in GitHub Desktop.
Save noisesmith/06102f38f14bad40ebe4a04f79f5dfda to your computer and use it in GitHub Desktop.
more scsh fun
+scheme@(guile-user)> (run (ls -la) (> foo.txt))
$9 = 0
+scheme@(guile-user)> (run (cat foo.txt))
total 3413344
drwx---r-x 180 justin justin 65536 Feb 10 15:24 .
drwxr-xr-x 8 root root 4096 Aug 12 2016 ..
drwx------ 2 justin justin 4096 Jul 14 2013 .abe
drwxrwxr-x 3 justin justin 4096 Nov 9 17:27 abm
drwx------ 4 justin justin 4096 Jun 5 2014 .adobe
drwx------ 2 justin justin 4096 Aug 4 2013 .adonthell
drwxrwxr-x 2 justin justin 4096 Aug 4 2013 .alex4
-rw-rw-r-- 1 justin justin 9346 Aug 14 2016 allocations.png
drwxrwxr-x 2 justin justin 4096 Jan 29 2016 and
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment