From ff19360d0be78b20047b5322e96974d57d73dcea Mon Sep 17 00:00:00 2001 From: jquast Date: Sun, 27 Oct 2013 12:59:03 -0700 Subject: update example to work with current openbsd site --- doc/overview.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc') 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') -- cgit v1.2.1