MACSCRPT Archives

June 2013

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Mime-Version:
1.0 (Mac OS X Mail 6.5 \(1508\))
Content-Type:
text/plain; charset=us-ascii
Date:
Wed, 26 Jun 2013 22:53:25 -0400
Reply-To:
Macintosh Scripting Systems <[log in to unmask]>
Subject:
Content-Transfer-Encoding:
quoted-printable
Message-ID:
Sender:
Macintosh Scripting Systems <[log in to unmask]>
From:
jeff donovan <[log in to unmask]>
Parts/Attachments:
text/plain (17 lines)
greetings,

I have a shell scrip that requires a Users input. How can I map the delete key incase they make a mistake ?

example;

echo " hey enter some words ";
read X
##now user types something
lets say soimethiong^H^H
-----

## and foo bars it and try to hit delete.

Is there a way I can map the delete key prior to this operation ? using osx.
thanks for any advice
-j

ATOM RSS1 RSS2