Search Results

Showing results 1 to 3 of 3
Search took 0.01 seconds.
Search: Posts Made By: daviddoria ; Forum: Shell Scripting and child forums
Forum: Shell Scripting Apr 28th, 2009
Replies: 0
Views: 392
Posted By daviddoria
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
Posted By daviddoria
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
Posted By daviddoria
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;
Showing results 1 to 3 of 3

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC