| 1 | [[PageOutline(2-5,Contents,pullout)]] |
| 2 | |
| 3 | = ShellExample = |
| 4 | |
| 5 | == Description == |
| 6 | |
| 7 | Wiki Formatter for command line shell examples. |
| 8 | |
| 9 | == Bugs/Feature Requests == |
| 10 | |
| 11 | Existing bugs and feature requests for ShellExampleMacro are |
| 12 | [report:9?COMPONENT=ShellExampleMacro here]. |
| 13 | |
| 14 | If you have any issues, create a |
| 15 | [http://trac-hacks.org/newticket?component=ShellExampleMacro&owner=nmadura new ticket]. |
| 16 | |
| 17 | == Download == |
| 18 | |
| 19 | Download the zipped source from [download:shellexamplemacro here]. |
| 20 | |
| 21 | == Source == |
| 22 | |
| 23 | You can check out ShellExampleMacro from [http://trac-hacks.org/svn/shellexamplemacro here] using Subversion, or [source:shellexamplemacro browse the source] with Trac. |
| 24 | |
| 25 | == Example == |
| 26 | |
| 27 | #!ShellExample |
| 28 | (full example showing how to use openssl to connect to a pops mail server) |
| 29 | $ openssl s_client -connect mail.foo.com:995 |
| 30 | CONNECTED(00000003) |
| 31 | depth=0 /C=US/ST=Nowhere/O=Foo/OU=bar/CN=mail.foo.com |
| 32 | $$--- |
| 33 | --- |
| 34 | +OK Dovecot ready. <1c32.1a611.4c4859c2.BEuUvAEtnt0du+msvFig0w==@mail.foo.com> |
| 35 | $$ user {username} |
| 36 | +OK |
| 37 | $$ pass {password} |
| 38 | +OK Logged in. |
| 39 | $$ stat |
| 40 | +OK 509 15659197 |
| 41 | $$ quit |
| 42 | +OK Logging out. |
| 43 | closed |
| 44 | |
| 45 | == Recent Changes == |
| 46 | |
| 47 | [[ChangeLog(shellexamplemacro, 3)]] |
| 48 | |
| 49 | == Author/Contributors == |
| 50 | |
| 51 | '''Author:''' [wiki:nmadura] [[BR]] |
| 52 | '''Maintainer:''' [wiki:nmadura] [[BR]] |
| 53 | '''Contributors:''' |