<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<title>scripting</title>

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {margin-right:0in;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><!-- Converted from text/rtf format -->Sorry&#8230;.i
want to use bash scripting for this&#8230;.should have had that in original
message if it is even relevant</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<div>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Dan Lansing</span></font><font color=navy><span
style='color:navy'> <br>
 </span></font></p>

</div>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Lansing, Dan <br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, August 07, 2003
11:34 AM<br>
<b><span style='font-weight:bold'>To:</span></b> tclug-list@mn-linux.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> [TCLUG] scripting</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp;</span></font></p>

<p style='margin-left:.5in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>I am very new to scripting&#8230;.i want to write a
script that asks me to enter a variable and the plugs that into a command</span></font></p>

<p style='margin-left:.5in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>For</span></font> <font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>example</span></font> <font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'>I run test.sh</span></font></p>

<p style='margin-left:.5in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>And it asks me for a file name</span></font></p>

<p style='margin-left:.5in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>I enter</span></font> <font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>&#8216;file&#8217; and it renames</span></font>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>&#8216;file&#8217;
to</span></font> <font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&#8216;file1&#8217;</span></font></p>

<p style='margin-left:.5in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>How can</span></font> <font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>I do this?</span></font></p>

<p style='margin-left:.5in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>Anyone know of any good sites to get scripting
tutorials?</span></font></p>

<p style='margin-left:.5in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>thanks</span></font></p>

<p style='margin-left:.5in'><a name=""><font size=2 face=Arial><span lang=EN
style='font-size:10.0pt;font-family:Arial'>Dan Lansing</span></font></a></p>

</div>

</body>

</html>