[Wolves] Shell Script "text variable"
David Goodwin
dg at clocksoft.com
Mon Jan 16 16:05:58 GMT 2006
David Morley 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.
In the script have :
read someVariable
After this, $someVariable can be used, e.g.
if [ "x$someVariable" == "xSomething" ]; then
# do something here.
fi
David.
--
David Goodwin
w: http://www.clocksoft.co.uk
e: david.goodwin at clocksoft.com
t: 0121 313 3850
More information about the Wolves
mailing list