This repository has been archived on 2015-04-29. You can view files and clone it, but cannot push or open issues or pull requests.
psh/example.typescript
2015-02-20 18:20:22 -05:00

40 lines
2.1 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Script started on Fri 20 Feb 2015 06:18:07 PM EST
%

(B(Bblazer(B (B~/dev/mqp (B(B18:18 (B
(B(B [?1h=

(B(Bblazer(B (B~/dev/mqp (B(B18:18 (B
(B➤(B scriptpython main.py[?1l>

(B(Bblazer(B (B~/dev/mqp (B(B18:18 (B
(B➤(B python main.py
Augmented Unix Userland
>>> ls
[DEBUG]: evaluating Python: Printer()(RawCommand('ls')())
commands.py
example_cmd.py
formatters.py
main.py
__pycache__
typescript
>>> ls | grep format
[DEBUG]: evaluating Python: Printer()(RawCommand('grep', args=('format',))(RawCommand('ls')()))
formatters.py
>>> >ls  2 + 2
4
>>> >ls  )ou     grep    ls_outu put = ls()
>>> >ls  grep.args = (', py',)
>>> >grepped_outpu          p.args = ('format',)
>>> >grepped_output = ls  grep(ls_output)
>>> >g Printer()(grepped_output)
formatters.py
>>>
%

(B(Bblazer(B (B~/dev/mqp (B(B18:19 (B
(B➤(B [?1h=

(B(Bblazer(B (B~/dev/mqp (B(B18:19 (B
(B➤(B 
Script done on Fri 20 Feb 2015 06:19:26 PM EST