~ubuntu-branches/ubuntu/trusty/expect/trusty

« back to all changes in this revision

Viewing changes to example/mkpasswd

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2006-10-01 22:23:00 UTC
  • mfrom: (2.1.7 edgy)
  • Revision ID: james.westby@ubuntu.com-20061001222300-08nd1wqc92mxggdq
Tags: 5.43.0-8
* Added patch from Niko Tyni <ntyni@iki.fi> to fix static library name on
  alpha, mips and mipsel (Closes: #390366).
* Added *.so symlink (Closes: #390365).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/expectk -f
 
1
#!/depot/path/expect --
2
2
# mkpasswd - make a password, if username given, set it.
3
3
# Author: Don Libes, NIST
4
4
 
200
200
                        exit 1
201
201
                }
202
202
        }
203
 
}
204
 
 
205
 
if {$verbose} {
206
 
        puts -nonewline "password for $user is "
207
 
}
 
203
 
 
204
        if {$verbose} {
 
205
            puts -nonewline "password for $user is "
 
206
        }
 
207
}
 
208
 
208
209
puts "$password"