Re: [Lug-Nuts] BASH question

From: Mike Machado (mike@cheapnet.net)
Date: Sun Feb 13 2000 - 20:41:06 PST


I think a loop is what you are going to have to do. Or at least a sleep()
beween each echo -n. Ex

echo -n "Please "
sleep 1
echo -n "Enter "
sleep 1
echo -n "Your "
sleep 1
echo -n "Name: "

On Sun, 13 Feb 2000, Daniel de Young wrote:

> Hi all,
>
> I'm new to shell scripting and would appreciate advice on how to
> accomplish something.
>
> I want to create a script that types out a question like it's being type
> realtime by the computer. As in, when a string is echoed I would like
> to make it appear with a small delay between each character being
> displayed. Of course I could make a loop function and echo each letter
> of a string without a character return, but I was wondering if anybody
> knew how to do this more simply.
>
> Hmmm, I wonder if that makes any sense... :-)
>
> Thanks,
> --
> Daniel de Young
> -------------------------------------
> Network Support
> Contractor to Netswork Inc.
> for Hewlett Packard Roseville
> -------------------------------------
> Click here to sign a petition to let
> the computer industry know that you
> want an alternative to Microsoft and
> that quality and innovation spring
> from competition.
>
> Linux driver petition
> http://www.libranet.com/petition.html
> -------------------------------------
> **********************************************************
> * Sacramento Linux Users Group Mailing List
> *
> * Unsubscribe: Send a message to majordomo@saclug.org
> * With 'unsubscribe lug-nuts' in the body
> *
> * http://www.saclug.org
>

Mike Machado
mike@innercite.com
InnerCite
Network Specialist

**********************************************************
* Sacramento Linux Users Group Mailing List
*
* Unsubscribe: Send a message to majordomo@saclug.org
* With 'unsubscribe lug-nuts' in the body
*
* http://www.saclug.org



This archive was generated by hypermail 2b29 : Fri Feb 25 2000 - 14:29:12 PST