Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
script - loop
Name: guy_j Date: April 11, 2007 at 08:40:14 Pacific OS: Windows XP Professional CPU/Ram: Intel Celeron 702Mhz/ 52M
Comment:
hi, i need to build a script that include list of files, and copy all the files from the list to a specific location.
the list can be a text file or lines in the script.
can somone help me with the loop? how to read the list file by file?
Summary: Hi, I'm trying to run loops in shell scripts using the following script. loop=1 while [ loop -lt 10 ] do echo 'this is my $loop text-line' loop='expr $loop + 1' done ---- but I'm getting error: test: ...
Summary: Is there a way to make the last line in a script loop back to the first line? I am writing a KORN shell script that ask the user if they want to search again. I have the "no" part down, but I dont k...
Summary: Is there a way to make the last line in a script loop back to the first line? I am writing a KORN shell script that ask the user if they want to search again. I have the "no" part down, but I dont k...