Skip to content

Instantly share code, notes, and snippets.

@crcx
Created October 23, 2019 18:36
Show Gist options
  • Save crcx/937ae55a2883b9f0320f82cf2c4bf6da to your computer and use it in GitHub Desktop.
Save crcx/937ae55a2883b9f0320f82cf2c4bf6da to your computer and use it in GitHub Desktop.
~~~
:pipe> (s-s) file:R unix:popen [ file:read-line ] [ unix:pclose ] bi ;
:>pipe> (ss-s) swap 'echo_"%s"_|_%s s:format dup s:put nl pipe> ;
:>pipe (ss-) >pipe> drop ;
:prefix:^ (?ss-s) [ s:format ] dip '%s_%s s:format pipe> ; immediate
~~~
```
'-a '%s ^uname s:put
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment