The Reason command line.
Reason provides a real shell-like experience. You can press
- to load the previous command in history
- to load the next command in history
- to move the cursor to the beginning of the line
- to move the cursor to the end of the line
- to clear the screen
- to kill the entire line and more!
Here are the basic rules by which commands are parsed:
- Whitespaces separate arguments.
Ex)
ls shadowtutor
consists of two arguments. - Pipes separate commands. Papers are passed to the next command.
Ex)
ls shadowtutor | rm
will remove all papers whose title matches 'shadowtutor'. - Single-quote your commands to escape from the above rules.
Ex)
ls 'shadow | tutor'
(still) consists of two arguments.
As seen above, commands can be chained with pipes. When a
previous command produces a list of papers, for instance ls
,
the list of papers can be passed to the next command for
further processing.
For instance, ls shadowtutor | open
will open all papers
that have the word 'shadwotutor' in their titles.
Paper lists are displayed as tables when not piped to the next command. Most commands produce paper lists as their output.