06-10-2005
for do done loop -- my vision blurs
Someone check my code and tell me why there's no output?
I've been coding for 10 hours and I can't tell.
I've stripped every command, and broken it down to just an echo.
for FILENAME in `cat ${TMP_PATH}fxsol_ls.txt`
do
echo $FILENAME
done
5 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I am trying to install Gandalf, a computer vision and numerical library (http://gandalf-library.sourceforge.net/). I am using Cygwin on a Windows machine and have tried everything to get this to build, but to no avail.
Gcc, make, and libtool are all included in my Cygwin install. I... (1 Reply)
Discussion started by: justinh
1 Replies
2. UNIX for Advanced & Expert Users
Hello,
has anybody implemented a driver for the GigE camera interface standard GigE Vision for VxWorks or knows where to aquire it? I have contacted all GigE Vision camera vendors, but most of them only have support for Windows and Linux and nobody does for VxWorks.
Best regards,
Anna (1 Reply)
Discussion started by: iq128
1 Replies
3. Shell Programming and Scripting
I'm trying to understand if it's possible to create a set of variables that are numbered based on another variable (using eval) in a loop, and then call on it before the loop ends.
As an example I've written a script called question (The fist command is to show what is the contents of the... (2 Replies)
Discussion started by: DeCoTwc
2 Replies
4. Shell Programming and Scripting
Hello All,
Maybe I'm Missing something here but I have NOOO idea what the heck is going on with this....?
I have a Variable that contains a PATTERN of what I'm considering "Illegal Characters". So what I'm doing is looping
through a string containing some of these "Illegal Characters". Now... (5 Replies)
Discussion started by: mrm5102
5 Replies
5. Shell Programming and Scripting
Here's my code:
awk -F '' 'NR==FNR {
if (/time/ && $5>10)
A=$2" "$3":"$4":"($5-01)
else if (/time/ && $5<01)
A=$2" "$3":"$4-01":"(59-$5)
else if (/time/ && $5<=10)
A=$2" "$3":"$4":0"($5-01)
else if (/close/) {
B=0
n1=n2;
... (2 Replies)
Discussion started by: klane
2 Replies