Search Results

Search: Posts Made By: crimsonengineer
2,867
Posted By crimsonengineer
Thanks, so backing up. I have a text file...
Thanks, so backing up.

I have a text file with values of pa and pb like this:

1.3 5.6
1.3 5.8
1.3 6.0
etc etc



I have a script that currently does the following:

## loop through...
2,867
Posted By crimsonengineer
Thanks for the replies. I think this last bit...
Thanks for the replies. I think this last bit might work. But if I had other conditions in my script ... could I embed it like this:


for var1 in 1 2
do
for var2 in 3 4
do

while read pa pb...
2,867
Posted By crimsonengineer
So my output would be a script containing the...
So my output would be a script containing the values in the text file:



I would like my script to repeat for each row in the text file. I think this can be accomplished with sed or awk, but...
2,867
Posted By crimsonengineer
Replace values in script reading line by line using sed
Hi all,

Let's say I have a script calling for the two variables PA_VALUE and PB_VALUE.

for pa in PA_VALUE
blah blah
do
for pb in PB_VALUE
blah blah
do
I have a text file with two...
Showing results 1 to 4 of 4

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