The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Changing values with increasing numbers!
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Changing values with increasing numbers!
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
10-11-2008
jlliagre
ɹǝsn sıɹɐlosuǝdo
Join Date: Dec 2007
Location: Paris
Posts: 1,472
Code:
#!/bin/bash for ((i=0;i<100;i++)) do eval $(printf "vmchange -m N%04d\n" $i) done
Works with ksh93 too.
jlliagre
View Public Profile
Find all posts by jlliagre
Find jlliagre's past nominations received
Find jlliagre's present nominations given