I would go here: http://www.tldp.org/LDP/abs/html/ and start in 
section 2.3 and 2.4. I would also suggest you try to write the script 
more of the form "renameScript filename" (then you should be able to use 
BASH's partial-name completeion too.

John

On Thu, Aug 07, 2003 at 11:35:38AM -0500, Lansing, Dan wrote:
> Sorry....i want to use bash scripting for this....should have had that in original message if it is even relevant
> 
> Dan Lansing 
>   
> -----Original Message-----
> From: Lansing, Dan 
> Sent: Thursday, August 07, 2003 11:34 AM
> To: tclug-list at mn-linux.org
> Subject: [TCLUG] scripting
> 
> I am very new to scripting....i want to write a script that asks me to enter a variable and the plugs that into a command
> 
> For example I run test.sh
> 
> And it asks me for a file name
> 
> I enter 'file' and it renames 'file' to 'file1'
> 
> How can I do this?
> 
> Anyone know of any good sites to get scripting tutorials?
> 
> thanks
> 
> Dan Lansing

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list