diff options
author | catherine <catherine@localhost> | 2008-06-09 12:05:39 -0400 |
---|---|---|
committer | catherine <catherine@localhost> | 2008-06-09 12:05:39 -0400 |
commit | 3f11bec7b5012259734735a7610220a1d5f3413f (patch) | |
tree | 1fbd0e345a98dd2f091a226d2076b64e95e8796e /README.txt | |
parent | e817a4cf78d8e55800606b68e60c2ef645afc5a2 (diff) | |
download | cmd2-hg-3f11bec7b5012259734735a7610220a1d5f3413f.tar.gz |
oops, had to fix for redirect plus pipe
Diffstat (limited to 'README.txt')
-rw-r--r-- | README.txt | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -6,9 +6,12 @@ - Load commands from file, save to file, edit commands in file
- Multi-line commands
- Case-insensitive commands
-- Special-character shortcut commands (beyond cmd's "@" and "!")
+- Special-character shortcut commands (beyond cmd's `@` and `!`)
- Settable environment parameters
- Parsing commands with flags
+- Redirection to file with `>`, `>>`; input from file with `<`
+- Bare '>', '>>' with no filename send output to paste buffer
+- Pipe output to shell commands with `|`
Instructions for implementing each feature follow.
@@ -166,4 +169,9 @@ Sample session using the above code :: set maxrepeats
-------------------------[6]
set maxrepeats 5
- (Cmd)
+ (Cmd) speak a dead parrot > pet.txt
+ (Cmd) speak < pet.txt
+ a dead parrot
+ (Cmd) speak only resting | wc
+ 1 2 13
+ (Cmd)
|