Skip to content

Commit

Permalink
update example to work with current openbsd site
Browse files Browse the repository at this point in the history
  • Loading branch information
jquast committed Oct 27, 2013
1 parent 1f46dac commit ff19360
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doc/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit ff19360

Please sign in to comment.