[Wolves] Shell Script "text variable"

chris procter chris-procter at talk21.com
Mon Jan 16 16:00:55 GMT 2006


You need something like this...

echo "enter the DVD name:"
read NAME
echo $NAME

which prompts the user for the name, reads it into the
$NAME variable and prints it to stdout.


--- David Morley <davmor2 at gmail.com> wrote:

> I have 7 dvd orginals that have scratches and are
> refusing to play on
> our dvd players however they do play on my pc.  So I
> am ripping and
> burning them to a new disc.  What I want to do
> though is set up a
> shell script to do the converting back to dvd for
> me.  What I want the
> program to do is ask for the file name that is being
> converted, so I
> need to have an input line but how?  The rest I can
> manage because it
> is just $a or whatever.
> --
> Seek That Thy Might Know
> _______________________________________________
> Wolves LUG mailing list
> Homepage: http://www.wolveslug.org.uk/
> Mailing list: Wolves at mailman.lug.org.uk
> Mailing list home:
> http://mailman.lug.org.uk/mailman/listinfo/wolves

Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com

More information about the Wolves mailing list