Michelle Weber on Tue, 18 Jan 2000 01:27:45 -0500 (EST) |
well everyway i tried this worked fine once i remembered to put $exists in that while list; instead of just exists, it just kept resetting itself! -- Michelle Weber umweber@mcs.drexel.edu ----- Original Message ----- From: "Michael C. Toren" <mct@netaxs.com> To: <plug@lists.nothinbut.net> Sent: Monday, January 17, 2000 11:47 PM Subject: Re: [PLUG] check for existing user. > > exists=true > > > > while [ exists==true ]; > > Try using: while [ "$exists" = "true" ] > > > do > > echo "Username: " > > You may like this better: echo -n "Username: " > > -mct > > ______________________________________________________________________ > Philadelphia Linux Users Group - http://plug.nothinbut.net > Announcements - http://lists.nothinbut.net/mail/listinfo/plug-announce > General Discussion - http://lists.nothinbut.net/mail/listinfo/plug > > ______________________________________________________________________ Philadelphia Linux Users Group - http://plug.nothinbut.net Announcements - http://lists.nothinbut.net/mail/listinfo/plug-announce General Discussion - http://lists.nothinbut.net/mail/listinfo/plug
|
|