Mercurial > python-cmd2
comparison docs/freefeatures.rst @ 324:21584174d865
make SHOW TABLES work
author | catherine@dellzilla |
---|---|
date | Thu, 11 Feb 2010 16:07:24 -0500 |
parents | a08c50b7d3d3 |
children | 4172feeddf76 |
comparison
equal
deleted
inserted
replaced
323:fc1e5a141920 | 324:21584174d865 |
---|---|
12 | 12 |
13 .. automethod:: cmd2.Cmd.do_load | 13 .. automethod:: cmd2.Cmd.do_load |
14 | 14 |
15 Output redirection | 15 Output redirection |
16 ================== | 16 ================== |
17 | |
18 As in a Unix shell, output of a command can be redirected: | |
19 | |
20 - sent to a file with ``>``, as in ``mycommand args > filename.txt`` | |
21 - piped (``|``) as input to operating-system commands, as in | |
22 ``mycommand args | wc`` | |
23 - sent to the paste buffer, ready for the next Copy operation, by | |
24 ending with a bare ``>``, as in ``mycommand args >``.. Redirecting | |
25 to paste buffer requires software to be installed on the operating | |
26 system, pywin32_ on Windows or xclip_ on *nix. | |
27 | |
28 .. _pywin32:: http://sourceforge.net/projects/pywin32/ | |
29 .. _xclip:: http://www.cyberciti.biz/faq/xclip-linux-insert-files-command-output-intoclipboard/ | |
30 | |
31 | |
32 operating-system programs, like | |
17 | 33 |
18 Commands at start | 34 Commands at start |
19 ================= | 35 ================= |
20 | 36 |
21 Python | 37 Python |