Forum: Shell Scripting Apr 28th, 2009 |
| Replies: 0 Views: 392 I have to call this many times:
MyScript.py --top='?_0.png'
where the 0 should be replaced with 0, 1, 2, 3, etc
I tried this:
for i in {0..3}; do |
Forum: Shell Scripting Apr 21st, 2009 |
| Replies: 1 Views: 569 I found some code to parse command line arguments (is there an easier way? sed always seems so complicated...)
#!/bin/bash
for i in $*
do
case $i in
--files=*)
FILES=`echo $i |... |
Forum: Shell Scripting Apr 6th, 2009 |
| Replies: 1 Views: 875 I am trying to do this
#!/bin/bash
for i in 1 2 3 4 5; do
File1="$i.txt"
File2="$i.obj"
./Test $File1 $File2
#save i and the result of the program somehow
done; |