Search Results

Search: Posts Made By: Splinter479
2,837
Posted By Splinter479
Don Cragun Sir, you deserve a medal! That's it! I...
Don Cragun Sir, you deserve a medal! That's it! I had no end of line character!

I used sublime text, like I always do for coding. Maybe the editor has some formatting default with the .txt ending,...
2,837
Posted By Splinter479
calls.txt:...
calls.txt:...
2,837
Posted By Splinter479
the point is, I can't even echo variables. I...
the point is, I can't even echo variables.

I get

> bash HiCoPi.sh
I AM OUTSIDE THE LOOP


It seems he never enters the while loop. this is why the stuff in the "program calls"
section...
2,837
Posted By Splinter479
thanks so far for your replies. I kind of have...
thanks so far for your replies. I kind of have the feeling too that it is somehow related to the calls.txt
I thought the minimal example would do the job, but let's give you a more real copy of what...
2,837
Posted By Splinter479
calls.txt is CSV file like: foo1,bar1 ...
calls.txt is CSV file like:

foo1,bar1
foo2,bar2
foo3,bar3where foo/bar are integers, strings or paths/to/things

I call the .sh with:
./HiCoPi.sh

And yes, calls.txt and the HiCoPi.sh are...
2,837
Posted By Splinter479
Read line and save fields as variables
Hej guys,
I am trying to read a csv file line by line, save it's fields as variables per line so I can use them as parameters and execute stuff.
I am new to shell scripting and was just strictly...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 04:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy