diff options
| author | jquast <contact@jeffquast.com> | 2013-10-27 12:59:03 -0700 |
|---|---|---|
| committer | jquast <contact@jeffquast.com> | 2013-10-27 12:59:03 -0700 |
| commit | ff19360d0be78b20047b5322e96974d57d73dcea (patch) | |
| tree | ae24efab35f90fabe9be49f33bc60ffec271fce0 | |
| parent | 1f46dace74eceda3a0e209b0bd646c1dc2d914db (diff) | |
| download | pexpect-locale-preffered-encoding.tar.gz | |
update example to work with current openbsd sitelocale-preffered-encoding
| -rw-r--r-- | doc/overview.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/overview.rst b/doc/overview.rst index 1ee00a3..18635ee 100644 --- a/doc/overview.rst +++ b/doc/overview.rst @@ -15,9 +15,11 @@ Here is an example of Pexpect in action:: child.expect('Password:') child.sendline('noah@example.com') child.expect('ftp> ') - child.sendline('cd pub') + child.sendline('lcd /tmp') # change local dir to /tmp child.expect('ftp> ') - child.sendline('get ls-lR.gz') + child.sendline('cd pub/OpenBSD') + child.expect('ftp> ') + child.sendline('get README') child.expect('ftp> ') child.sendline('bye') |
