| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | script |
Let's go, :)
I need simple script :
-------------------------------------------------------------------
old:
fox privious; mv kfile kfile01; fox secundus; mv kfile kfile02; fox
tercius; mv kfile kfile03
===================================================================
a little bit improved:
echo "Gimme:"
read a
read b
read c
fox privious; mv kfile $a; fox secundus; mv kfile $b; fox tercius; mv
kfile $c
----------------------------------------------------------------------
what I want:
only one
read a
I put kfile01 and I want to script do the rest for
kfile02, kfile03. Also if I put kfile11 -> kfile12
kfile13 etc. Incriment $a.
something like, you know...
fox privious; mv kfile $a; fox secundus; mv kfile $a+1; fox tercius; mv
kfile $a+2
* Origin: KrBa (1:2320/38.7)SEEN-BY: 396/1 632/0 371 633/260 267 270 284 371 634/397 635/506 725 728 SEEN-BY: 639/252 @PATH: 2320/38 270/101 396/1 633/260 635/506 728 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.