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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20030807/e7423aab/attachment.htm